summaryrefslogtreecommitdiffstats
path: root/lib/presentation/router/routes
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presentation/router/routes')
-rw-r--r--lib/presentation/router/routes/routes.dart56
1 files changed, 56 insertions, 0 deletions
diff --git a/lib/presentation/router/routes/routes.dart b/lib/presentation/router/routes/routes.dart
new file mode 100644
index 0000000..d6d74c4
--- /dev/null
+++ b/lib/presentation/router/routes/routes.dart
@@ -0,0 +1,56 @@
+import 'package:flutter_ics_homescreen/presentation/screens/settings/settings_screens/date_time/date/date_screen.dart';
+import 'package:flutter_ics_homescreen/presentation/screens/settings/settings_screens/date_time/time/time_screen.dart';
+
+import '../../../../export.dart';
+
+List<Page<dynamic>> onGenerateAppViewPages(
+ AppState state,
+ List<Page<dynamic>> pages,
+) {
+ switch (state) {
+ case AppState.home:
+ return [DasboardPage.page()];
+ case AppState.dashboard:
+ return [DasboardPage.page()];
+ case AppState.hvac:
+ return [HvacPage.page()];
+ case AppState.apps:
+ return [AppsPage.page()];
+ case AppState.mediaPlayer:
+ return [MediaPlayerPage.page()];
+ case AppState.settings:
+ return [SettingsPage.page()];
+ case AppState.splash:
+ return [SplashPage.page()];
+ case AppState.dateTime:
+ return [DateTimePage.page()];
+ case AppState.bluetooth:
+ return [BluetoothPage.page()];
+ case AppState.wifi:
+ return [WifiPage.page()];
+ case AppState.wired:
+ return [WiredPage.page()];
+ case AppState.audioSettings:
+ return [AudioSettingsPage.page()];
+ case AppState.profiles:
+ return [ProfilesPage.page()];
+ case AppState.units:
+ return [UnitsPage.page()];
+ case AppState.versionInfo:
+ return [VersionInfoPage.page()];
+ case AppState.weather:
+ return [WeatherPage.page()];
+ case AppState.distanceUnit:
+ return [DistanceUnitPage.page()];
+ case AppState.tempUnit:
+ return [TemperatureUnitPage.page()];
+ case AppState.clock:
+ return [ClockPage.page()];
+ case AppState.newProfile:
+ return [NewProfilePage.page()];
+ case AppState.date:
+ return [DatePage.page()];
+ case AppState.time:
+ return [TimePage.page()];
+ }
+}