-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate to new version of router, upgrade dependencies (#2)
* migrate to new version of router, upgrade dependencies * updated ci settings
- Loading branch information
Showing
14 changed files
with
366 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import 'package:auto_route/auto_route.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:sys_dia_log/modules/home/views/home_view.dart'; | ||
import 'package:sys_dia_log/modules/measurement/models/measurement.dart'; | ||
import 'package:sys_dia_log/modules/measurement/views/measurement_view.dart'; | ||
import 'package:sys_dia_log/modules/settings/views/settings_view.dart'; | ||
import 'package:sys_dia_log/shared/views/nav_bar_view.dart'; | ||
import 'package:sys_dia_log/shared/views/splash_screen_view.dart'; | ||
|
||
part 'app_router.gr.dart'; | ||
|
||
@AutoRouterConfig(replaceInRouteName: 'View,Route') | ||
class AppRouter extends _$AppRouter { | ||
@override | ||
RouteType get defaultRouteType => const RouteType.material(); | ||
|
||
@override | ||
List<AutoRoute> get routes => [ | ||
AutoRoute(page: SplashScreenRoute.page, initial: true), | ||
CustomRoute(page: NavBarRoute.page, children: [ | ||
AutoRoute(page: HomeRoute.page), | ||
AutoRoute(page: MeasurementRoute.page), | ||
AutoRoute(page: SettingsRoute.page) | ||
]), | ||
]; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.