community_page_router.gr.dart 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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 'community_page_router.dart';
  8. abstract class _$CommunityPageRouter extends RootStackRouter {
  9. // ignore: unused_element
  10. _$CommunityPageRouter({super.navigatorKey});
  11. @override
  12. final Map<String, PageFactory> pagesMap = {
  13. CommunityPageRoute.name: (routeData) {
  14. return AutoRoutePage<dynamic>(
  15. routeData: routeData,
  16. child: const CommunityPage(),
  17. );
  18. },
  19. GaragesaleDetailPageRoute.name: (routeData) {
  20. return AutoRoutePage<dynamic>(
  21. routeData: routeData,
  22. child: const GaragesaleDetailPage(),
  23. );
  24. },
  25. GaragesaleMypostsPageRoute.name: (routeData) {
  26. return AutoRoutePage<dynamic>(
  27. routeData: routeData,
  28. child: const GaragesaleMypostsPage(),
  29. );
  30. },
  31. GaragesalePageRoute.name: (routeData) {
  32. return AutoRoutePage<dynamic>(
  33. routeData: routeData,
  34. child: const GaragesalePage(),
  35. );
  36. },
  37. GaragesalePostPageRoute.name: (routeData) {
  38. return AutoRoutePage<dynamic>(
  39. routeData: routeData,
  40. child: const GaragesalePostPage(),
  41. );
  42. },
  43. NewsfeedDetailPageRoute.name: (routeData) {
  44. final args = routeData.argsAs<NewsfeedDetailPageRouteArgs>();
  45. return AutoRoutePage<dynamic>(
  46. routeData: routeData,
  47. child: NewsfeedDetailPage(
  48. key: args.key,
  49. id: args.id,
  50. ),
  51. );
  52. },
  53. NewsfeedMypostsPageRoute.name: (routeData) {
  54. return AutoRoutePage<dynamic>(
  55. routeData: routeData,
  56. child: const NewsfeedMypostsPage(),
  57. );
  58. },
  59. NewsfeedPageRoute.name: (routeData) {
  60. return AutoRoutePage<dynamic>(
  61. routeData: routeData,
  62. child: const NewsfeedPage(),
  63. );
  64. },
  65. NewsfeedPostPageRoute.name: (routeData) {
  66. return AutoRoutePage<dynamic>(
  67. routeData: routeData,
  68. child: const NewsfeedPostPage(),
  69. );
  70. },
  71. };
  72. }
  73. /// generated route for
  74. /// [CommunityPage]
  75. class CommunityPageRoute extends PageRouteInfo<void> {
  76. const CommunityPageRoute({List<PageRouteInfo>? children})
  77. : super(
  78. CommunityPageRoute.name,
  79. initialChildren: children,
  80. );
  81. static const String name = 'CommunityPageRoute';
  82. static const PageInfo<void> page = PageInfo<void>(name);
  83. }
  84. /// generated route for
  85. /// [GaragesaleDetailPage]
  86. class GaragesaleDetailPageRoute extends PageRouteInfo<void> {
  87. const GaragesaleDetailPageRoute({List<PageRouteInfo>? children})
  88. : super(
  89. GaragesaleDetailPageRoute.name,
  90. initialChildren: children,
  91. );
  92. static const String name = 'GaragesaleDetailPageRoute';
  93. static const PageInfo<void> page = PageInfo<void>(name);
  94. }
  95. /// generated route for
  96. /// [GaragesaleMypostsPage]
  97. class GaragesaleMypostsPageRoute extends PageRouteInfo<void> {
  98. const GaragesaleMypostsPageRoute({List<PageRouteInfo>? children})
  99. : super(
  100. GaragesaleMypostsPageRoute.name,
  101. initialChildren: children,
  102. );
  103. static const String name = 'GaragesaleMypostsPageRoute';
  104. static const PageInfo<void> page = PageInfo<void>(name);
  105. }
  106. /// generated route for
  107. /// [GaragesalePage]
  108. class GaragesalePageRoute extends PageRouteInfo<void> {
  109. const GaragesalePageRoute({List<PageRouteInfo>? children})
  110. : super(
  111. GaragesalePageRoute.name,
  112. initialChildren: children,
  113. );
  114. static const String name = 'GaragesalePageRoute';
  115. static const PageInfo<void> page = PageInfo<void>(name);
  116. }
  117. /// generated route for
  118. /// [GaragesalePostPage]
  119. class GaragesalePostPageRoute extends PageRouteInfo<void> {
  120. const GaragesalePostPageRoute({List<PageRouteInfo>? children})
  121. : super(
  122. GaragesalePostPageRoute.name,
  123. initialChildren: children,
  124. );
  125. static const String name = 'GaragesalePostPageRoute';
  126. static const PageInfo<void> page = PageInfo<void>(name);
  127. }
  128. /// generated route for
  129. /// [NewsfeedDetailPage]
  130. class NewsfeedDetailPageRoute
  131. extends PageRouteInfo<NewsfeedDetailPageRouteArgs> {
  132. NewsfeedDetailPageRoute({
  133. Key? key,
  134. required int? id,
  135. List<PageRouteInfo>? children,
  136. }) : super(
  137. NewsfeedDetailPageRoute.name,
  138. args: NewsfeedDetailPageRouteArgs(
  139. key: key,
  140. id: id,
  141. ),
  142. initialChildren: children,
  143. );
  144. static const String name = 'NewsfeedDetailPageRoute';
  145. static const PageInfo<NewsfeedDetailPageRouteArgs> page =
  146. PageInfo<NewsfeedDetailPageRouteArgs>(name);
  147. }
  148. class NewsfeedDetailPageRouteArgs {
  149. const NewsfeedDetailPageRouteArgs({
  150. this.key,
  151. required this.id,
  152. });
  153. final Key? key;
  154. final int? id;
  155. @override
  156. String toString() {
  157. return 'NewsfeedDetailPageRouteArgs{key: $key, id: $id}';
  158. }
  159. }
  160. /// generated route for
  161. /// [NewsfeedMypostsPage]
  162. class NewsfeedMypostsPageRoute extends PageRouteInfo<void> {
  163. const NewsfeedMypostsPageRoute({List<PageRouteInfo>? children})
  164. : super(
  165. NewsfeedMypostsPageRoute.name,
  166. initialChildren: children,
  167. );
  168. static const String name = 'NewsfeedMypostsPageRoute';
  169. static const PageInfo<void> page = PageInfo<void>(name);
  170. }
  171. /// generated route for
  172. /// [NewsfeedPage]
  173. class NewsfeedPageRoute extends PageRouteInfo<void> {
  174. const NewsfeedPageRoute({List<PageRouteInfo>? children})
  175. : super(
  176. NewsfeedPageRoute.name,
  177. initialChildren: children,
  178. );
  179. static const String name = 'NewsfeedPageRoute';
  180. static const PageInfo<void> page = PageInfo<void>(name);
  181. }
  182. /// generated route for
  183. /// [NewsfeedPostPage]
  184. class NewsfeedPostPageRoute extends PageRouteInfo<void> {
  185. const NewsfeedPostPageRoute({List<PageRouteInfo>? children})
  186. : super(
  187. NewsfeedPostPageRoute.name,
  188. initialChildren: children,
  189. );
  190. static const String name = 'NewsfeedPostPageRoute';
  191. static const PageInfo<void> page = PageInfo<void>(name);
  192. }