finished select period dialog design

This commit is contained in:
ashrafzarkanisala
2024-07-27 22:35:53 +03:00
parent 0cad30557d
commit 0783f8dacd
8 changed files with 541 additions and 53 deletions
+6
View File
@@ -14,6 +14,7 @@ import 'package:syncrow_app/features/menu/view/widgets/profile/profile_view.dart
import 'package:syncrow_app/features/scene/bloc/tab_change/tab_change_bloc.dart';
import 'package:syncrow_app/features/scene/bloc/tab_change/tab_change_event.dart';
import 'package:syncrow_app/features/scene/view/device_functions_view.dart';
import 'package:syncrow_app/features/scene/view/scene_auto_settings.dart';
import 'package:syncrow_app/features/scene/view/scene_tasks_view.dart';
import 'package:syncrow_app/features/scene/view/scene_rooms_tabbar.dart';
import 'package:syncrow_app/features/scene/view/scene_view.dart';
@@ -95,6 +96,11 @@ class Router {
builder: (_) => DeviceFunctionsView(),
settings: settings,
);
case Routes.sceneAutoSettingsRoute:
return MaterialPageRoute(
builder: (_) => const SceneAutoSettings(),
settings: settings,
);
default:
return MaterialPageRoute(
builder: (_) => Scaffold(
+3 -2
View File
@@ -19,6 +19,7 @@ class Routes {
static const String createUnit = '/create-unit';
static const String sceneTasksRoute = '/scene-tasks';
static const String sceneControlDevicesRoute = '/scene-control-devices';
static const String deviceFunctionsRoute = '/device-functions';
static const String deviceFunctionsRoute = '/device-functions';
static const String sceneAutoSettingsRoute =
'/scene-automation-settings';
}