community_page_router.gr.dart 8.9 KB

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