mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 17:47:28 +00:00
71 lines
2.4 KiB
Dart
71 lines
2.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
import 'package:syncrow_app/features/auth/view/widgets/login_divider.dart';
|
|
import 'package:syncrow_app/features/scene/view/widgets/scene_list_tile.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/default_button.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/default_container.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/default_scaffold.dart';
|
|
import 'package:syncrow_app/features/shared_widgets/text_widgets/body_large.dart';
|
|
import 'package:syncrow_app/generated/assets.dart';
|
|
import 'package:syncrow_app/utils/resource_manager/color_manager.dart';
|
|
import 'package:syncrow_app/utils/resource_manager/strings_manager.dart';
|
|
|
|
class SceneAddTasksView extends StatelessWidget {
|
|
const SceneAddTasksView({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return DefaultScaffold(
|
|
title: StringsManager.createScene,
|
|
padding: const EdgeInsets.only(top: 24),
|
|
actions: [
|
|
SizedBox(
|
|
width: 40,
|
|
child: GestureDetector(
|
|
child: SvgPicture.asset(
|
|
Assets.assetsIconsSettings,
|
|
colorFilter: const ColorFilter.mode(
|
|
ColorsManager.textPrimaryColor,
|
|
BlendMode.srcIn,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
child: SingleChildScrollView(
|
|
child: Column(
|
|
children: [
|
|
DefaultContainer(
|
|
padding: EdgeInsets.zero,
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
Padding(
|
|
padding: const EdgeInsets.all(16.0),
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
const BodyLarge(
|
|
text: 'IF',
|
|
),
|
|
SvgPicture.asset(Assets.addIcon),
|
|
],
|
|
),
|
|
),
|
|
const Divider(
|
|
color: ColorsManager.greyColor,
|
|
),
|
|
const SceneListTile(
|
|
assetPath: Assets.handClickIcon,
|
|
title: StringsManager.tapToRun,
|
|
)
|
|
],
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|