main_page_router.gr.dart 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. // **************************************************************************
  3. // AutoRouterGenerator
  4. // **************************************************************************
  5. // ignore_for_file: type=lint
  6. // coverage:ignore-file
  7. part of 'main_page_router.dart';
  8. abstract class _$MainPageRouter extends RootStackRouter {
  9. // ignore: unused_element
  10. _$MainPageRouter({super.navigatorKey});
  11. @override
  12. final Map<String, PageFactory> pagesMap = {
  13. FeedbackPageRoute.name: (routeData) {
  14. return AutoRoutePage<dynamic>(
  15. routeData: routeData,
  16. child: const FeedbackPage(),
  17. );
  18. },
  19. HomePageRoute.name: (routeData) {
  20. return AutoRoutePage<dynamic>(
  21. routeData: routeData,
  22. child: const HomePage(),
  23. );
  24. },
  25. MainPageRoute.name: (routeData) {
  26. return AutoRoutePage<dynamic>(
  27. routeData: routeData,
  28. child: const MainPage(),
  29. );
  30. },
  31. MePageRoute.name: (routeData) {
  32. return AutoRoutePage<dynamic>(
  33. routeData: routeData,
  34. child: const MePage(),
  35. );
  36. },
  37. NotificationPageRoute.name: (routeData) {
  38. return AutoRoutePage<dynamic>(
  39. routeData: routeData,
  40. child: const NotificationPage(),
  41. );
  42. },
  43. VisitorPageRoute.name: (routeData) {
  44. return AutoRoutePage<dynamic>(
  45. routeData: routeData,
  46. child: const VisitorPage(),
  47. );
  48. },
  49. };
  50. }
  51. /// generated route for
  52. /// [FeedbackPage]
  53. class FeedbackPageRoute extends PageRouteInfo<void> {
  54. const FeedbackPageRoute({List<PageRouteInfo>? children})
  55. : super(
  56. FeedbackPageRoute.name,
  57. initialChildren: children,
  58. );
  59. static const String name = 'FeedbackPageRoute';
  60. static const PageInfo<void> page = PageInfo<void>(name);
  61. }
  62. /// generated route for
  63. /// [HomePage]
  64. class HomePageRoute extends PageRouteInfo<void> {
  65. const HomePageRoute({List<PageRouteInfo>? children})
  66. : super(
  67. HomePageRoute.name,
  68. initialChildren: children,
  69. );
  70. static const String name = 'HomePageRoute';
  71. static const PageInfo<void> page = PageInfo<void>(name);
  72. }
  73. /// generated route for
  74. /// [MainPage]
  75. class MainPageRoute extends PageRouteInfo<void> {
  76. const MainPageRoute({List<PageRouteInfo>? children})
  77. : super(
  78. MainPageRoute.name,
  79. initialChildren: children,
  80. );
  81. static const String name = 'MainPageRoute';
  82. static const PageInfo<void> page = PageInfo<void>(name);
  83. }
  84. /// generated route for
  85. /// [MePage]
  86. class MePageRoute extends PageRouteInfo<void> {
  87. const MePageRoute({List<PageRouteInfo>? children})
  88. : super(
  89. MePageRoute.name,
  90. initialChildren: children,
  91. );
  92. static const String name = 'MePageRoute';
  93. static const PageInfo<void> page = PageInfo<void>(name);
  94. }
  95. /// generated route for
  96. /// [NotificationPage]
  97. class NotificationPageRoute extends PageRouteInfo<void> {
  98. const NotificationPageRoute({List<PageRouteInfo>? children})
  99. : super(
  100. NotificationPageRoute.name,
  101. initialChildren: children,
  102. );
  103. static const String name = 'NotificationPageRoute';
  104. static const PageInfo<void> page = PageInfo<void>(name);
  105. }
  106. /// generated route for
  107. /// [VisitorPage]
  108. class VisitorPageRoute extends PageRouteInfo<void> {
  109. const VisitorPageRoute({List<PageRouteInfo>? children})
  110. : super(
  111. VisitorPageRoute.name,
  112. initialChildren: children,
  113. );
  114. static const String name = 'VisitorPageRoute';
  115. static const PageInfo<void> page = PageInfo<void>(name);
  116. }