community_page_router.gr.dart 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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. FollowingPageRoute.name: (routeData) {
  20. return AutoRoutePage<dynamic>(
  21. routeData: routeData,
  22. child: const FollowingPage(),
  23. );
  24. },
  25. ForyouPageRoute.name: (routeData) {
  26. return AutoRoutePage<dynamic>(
  27. routeData: routeData,
  28. child: const ForyouPage(),
  29. );
  30. },
  31. GaragesaleDetailPageRoute.name: (routeData) {
  32. return AutoRoutePage<dynamic>(
  33. routeData: routeData,
  34. child: const GaragesaleDetailPage(),
  35. );
  36. },
  37. GaragesaleMypostsPageRoute.name: (routeData) {
  38. return AutoRoutePage<dynamic>(
  39. routeData: routeData,
  40. child: const GaragesaleMypostsPage(),
  41. );
  42. },
  43. GaragesalePageRoute.name: (routeData) {
  44. return AutoRoutePage<dynamic>(
  45. routeData: routeData,
  46. child: const GaragesalePage(),
  47. );
  48. },
  49. GaragesalePostPageRoute.name: (routeData) {
  50. return AutoRoutePage<dynamic>(
  51. routeData: routeData,
  52. child: const GaragesalePostPage(),
  53. );
  54. },
  55. NewsPageRoute.name: (routeData) {
  56. return AutoRoutePage<dynamic>(
  57. routeData: routeData,
  58. child: const NewsPage(),
  59. );
  60. },
  61. NewsfeedDetailPageRoute.name: (routeData) {
  62. final args = routeData.argsAs<NewsfeedDetailPageRouteArgs>();
  63. return AutoRoutePage<dynamic>(
  64. routeData: routeData,
  65. child: NewsfeedDetailPage(
  66. key: args.key,
  67. id: args.id,
  68. ),
  69. );
  70. },
  71. NewsfeedMypostsPageRoute.name: (routeData) {
  72. return AutoRoutePage<dynamic>(
  73. routeData: routeData,
  74. child: const NewsfeedMypostsPage(),
  75. );
  76. },
  77. NewsfeedPageRoute.name: (routeData) {
  78. return AutoRoutePage<dynamic>(
  79. routeData: routeData,
  80. child: const NewsfeedPage(),
  81. );
  82. },
  83. NewsfeedPostPageRoute.name: (routeData) {
  84. return AutoRoutePage<dynamic>(
  85. routeData: routeData,
  86. child: const NewsfeedPostPage(),
  87. );
  88. },
  89. };
  90. }
  91. /// generated route for
  92. /// [CommunityPage]
  93. class CommunityPageRoute extends PageRouteInfo<void> {
  94. const CommunityPageRoute({List<PageRouteInfo>? children})
  95. : super(
  96. CommunityPageRoute.name,
  97. initialChildren: children,
  98. );
  99. static const String name = 'CommunityPageRoute';
  100. static const PageInfo<void> page = PageInfo<void>(name);
  101. }
  102. /// generated route for
  103. /// [FollowingPage]
  104. class FollowingPageRoute extends PageRouteInfo<void> {
  105. const FollowingPageRoute({List<PageRouteInfo>? children})
  106. : super(
  107. FollowingPageRoute.name,
  108. initialChildren: children,
  109. );
  110. static const String name = 'FollowingPageRoute';
  111. static const PageInfo<void> page = PageInfo<void>(name);
  112. }
  113. /// generated route for
  114. /// [ForyouPage]
  115. class ForyouPageRoute extends PageRouteInfo<void> {
  116. const ForyouPageRoute({List<PageRouteInfo>? children})
  117. : super(
  118. ForyouPageRoute.name,
  119. initialChildren: children,
  120. );
  121. static const String name = 'ForyouPageRoute';
  122. static const PageInfo<void> page = PageInfo<void>(name);
  123. }
  124. /// generated route for
  125. /// [GaragesaleDetailPage]
  126. class GaragesaleDetailPageRoute extends PageRouteInfo<void> {
  127. const GaragesaleDetailPageRoute({List<PageRouteInfo>? children})
  128. : super(
  129. GaragesaleDetailPageRoute.name,
  130. initialChildren: children,
  131. );
  132. static const String name = 'GaragesaleDetailPageRoute';
  133. static const PageInfo<void> page = PageInfo<void>(name);
  134. }
  135. /// generated route for
  136. /// [GaragesaleMypostsPage]
  137. class GaragesaleMypostsPageRoute extends PageRouteInfo<void> {
  138. const GaragesaleMypostsPageRoute({List<PageRouteInfo>? children})
  139. : super(
  140. GaragesaleMypostsPageRoute.name,
  141. initialChildren: children,
  142. );
  143. static const String name = 'GaragesaleMypostsPageRoute';
  144. static const PageInfo<void> page = PageInfo<void>(name);
  145. }
  146. /// generated route for
  147. /// [GaragesalePage]
  148. class GaragesalePageRoute extends PageRouteInfo<void> {
  149. const GaragesalePageRoute({List<PageRouteInfo>? children})
  150. : super(
  151. GaragesalePageRoute.name,
  152. initialChildren: children,
  153. );
  154. static const String name = 'GaragesalePageRoute';
  155. static const PageInfo<void> page = PageInfo<void>(name);
  156. }
  157. /// generated route for
  158. /// [GaragesalePostPage]
  159. class GaragesalePostPageRoute extends PageRouteInfo<void> {
  160. const GaragesalePostPageRoute({List<PageRouteInfo>? children})
  161. : super(
  162. GaragesalePostPageRoute.name,
  163. initialChildren: children,
  164. );
  165. static const String name = 'GaragesalePostPageRoute';
  166. static const PageInfo<void> page = PageInfo<void>(name);
  167. }
  168. /// generated route for
  169. /// [NewsPage]
  170. class NewsPageRoute extends PageRouteInfo<void> {
  171. const NewsPageRoute({List<PageRouteInfo>? children})
  172. : super(
  173. NewsPageRoute.name,
  174. initialChildren: children,
  175. );
  176. static const String name = 'NewsPageRoute';
  177. static const PageInfo<void> page = PageInfo<void>(name);
  178. }
  179. /// generated route for
  180. /// [NewsfeedDetailPage]
  181. class NewsfeedDetailPageRoute
  182. extends PageRouteInfo<NewsfeedDetailPageRouteArgs> {
  183. NewsfeedDetailPageRoute({
  184. Key? key,
  185. required int? id,
  186. List<PageRouteInfo>? children,
  187. }) : super(
  188. NewsfeedDetailPageRoute.name,
  189. args: NewsfeedDetailPageRouteArgs(
  190. key: key,
  191. id: id,
  192. ),
  193. initialChildren: children,
  194. );
  195. static const String name = 'NewsfeedDetailPageRoute';
  196. static const PageInfo<NewsfeedDetailPageRouteArgs> page =
  197. PageInfo<NewsfeedDetailPageRouteArgs>(name);
  198. }
  199. class NewsfeedDetailPageRouteArgs {
  200. const NewsfeedDetailPageRouteArgs({
  201. this.key,
  202. required this.id,
  203. });
  204. final Key? key;
  205. final int? id;
  206. @override
  207. String toString() {
  208. return 'NewsfeedDetailPageRouteArgs{key: $key, id: $id}';
  209. }
  210. }
  211. /// generated route for
  212. /// [NewsfeedMypostsPage]
  213. class NewsfeedMypostsPageRoute extends PageRouteInfo<void> {
  214. const NewsfeedMypostsPageRoute({List<PageRouteInfo>? children})
  215. : super(
  216. NewsfeedMypostsPageRoute.name,
  217. initialChildren: children,
  218. );
  219. static const String name = 'NewsfeedMypostsPageRoute';
  220. static const PageInfo<void> page = PageInfo<void>(name);
  221. }
  222. /// generated route for
  223. /// [NewsfeedPage]
  224. class NewsfeedPageRoute extends PageRouteInfo<void> {
  225. const NewsfeedPageRoute({List<PageRouteInfo>? children})
  226. : super(
  227. NewsfeedPageRoute.name,
  228. initialChildren: children,
  229. );
  230. static const String name = 'NewsfeedPageRoute';
  231. static const PageInfo<void> page = PageInfo<void>(name);
  232. }
  233. /// generated route for
  234. /// [NewsfeedPostPage]
  235. class NewsfeedPostPageRoute extends PageRouteInfo<void> {
  236. const NewsfeedPostPageRoute({List<PageRouteInfo>? children})
  237. : super(
  238. NewsfeedPostPageRoute.name,
  239. initialChildren: children,
  240. );
  241. static const String name = 'NewsfeedPostPageRoute';
  242. static const PageInfo<void> page = PageInfo<void>(name);
  243. }