app_router.dart 1.1 KB

123456789101112131415161718192021222324252627282930
  1. import 'package:auto_route/auto_route.dart';
  2. import 'package:eitc_erm_dental_flutter/app_router.gr.dart';
  3. ///路由配置
  4. @AutoRouterConfig()
  5. class AppRouter extends RootStackRouter {
  6. AppRouter({super.navigatorKey});
  7. @override
  8. List<AutoRoute> get routes => [
  9. AutoRoute(page: SplashRoute.page, initial: true),
  10. AutoRoute(page: MainRoute.page),
  11. AutoRoute(page: HistoryRoute.page),
  12. AutoRoute(page: FaqsRoute.page),
  13. AutoRoute(page: PhotoViewRoute.page),
  14. AutoRoute(page: VideoPlayerRoute.page),
  15. AutoRoute(page: DelayShotSettingsRoute.page),
  16. AutoRoute(page: UploadSelectClinicRoute.page),
  17. AutoRoute(page: UploadRoute.page),
  18. AutoRoute(page: VideoViewRoute.page),
  19. AutoRoute(page: SettingsRoute.page),
  20. AutoRoute(page: WebviewRoute.page),
  21. AutoRoute(page: LoginRoute.page),
  22. AutoRoute(page: PatientListRoute.page),
  23. AutoRoute(page: AddPatientRoute.page),
  24. AutoRoute(page: PhotoPreviewRoute.page),
  25. AutoRoute(page: VideoPreviewRoute.page),
  26. ];
  27. }