community_page_router.gr.dart 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  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: 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. GaragesaleDetailPageRoute.name: (routeData) {
  44. final args = routeData.argsAs<GaragesaleDetailPageRouteArgs>();
  45. return AutoRoutePage<dynamic>(
  46. routeData: routeData,
  47. child: GaragesaleDetailPage(
  48. key: args.key,
  49. id: args.id,
  50. type: args.type,
  51. ),
  52. );
  53. },
  54. GaragesalePostPageRoute.name: (routeData) {
  55. final args = routeData.argsAs<GaragesalePostPageRouteArgs>();
  56. return AutoRoutePage<dynamic>(
  57. routeData: routeData,
  58. child: GaragesalePostPage(
  59. key: args.key,
  60. type: args.type,
  61. sCallback: args.sCallback,
  62. fCallback: args.fCallback,
  63. ),
  64. );
  65. },
  66. MyFollowPageRoute.name: (routeData) {
  67. return AutoRoutePage<dynamic>(
  68. routeData: routeData,
  69. child: const MyFollowPage(),
  70. );
  71. },
  72. MyFollowerPageRoute.name: (routeData) {
  73. return AutoRoutePage<dynamic>(
  74. routeData: routeData,
  75. child: const MyFollowerPage(),
  76. );
  77. },
  78. MyFollowingPageRoute.name: (routeData) {
  79. return AutoRoutePage<dynamic>(
  80. routeData: routeData,
  81. child: const MyFollowingPage(),
  82. );
  83. },
  84. MyPostsForRentPageRoute.name: (routeData) {
  85. return AutoRoutePage<dynamic>(
  86. routeData: routeData,
  87. child: const MyPostsForRentPage(),
  88. );
  89. },
  90. MyPostsForSalePageRoute.name: (routeData) {
  91. return AutoRoutePage<dynamic>(
  92. routeData: routeData,
  93. child: const MyPostsForSalePage(),
  94. );
  95. },
  96. MyPostsNewsfeedPageRoute.name: (routeData) {
  97. return AutoRoutePage<dynamic>(
  98. routeData: routeData,
  99. child: const MyPostsNewsfeedPage(),
  100. );
  101. },
  102. MyPostsPageRoute.name: (routeData) {
  103. return AutoRoutePage<dynamic>(
  104. routeData: routeData,
  105. child: const MyPostsPage(),
  106. );
  107. },
  108. NewsPageRoute.name: (routeData) {
  109. return AutoRoutePage<dynamic>(
  110. routeData: routeData,
  111. child: const NewsPage(),
  112. );
  113. },
  114. NewsfeedDetailPageRoute.name: (routeData) {
  115. final pathParams = routeData.inheritedPathParams;
  116. final args = routeData.argsAs<NewsfeedDetailPageRouteArgs>(
  117. orElse: () => NewsfeedDetailPageRouteArgs(
  118. id: pathParams.optInt('id'),
  119. type: pathParams.optString('type'),
  120. ));
  121. return AutoRoutePage<dynamic>(
  122. routeData: routeData,
  123. child: NewsfeedDetailPage(
  124. key: args.key,
  125. id: args.id,
  126. type: args.type,
  127. ),
  128. );
  129. },
  130. NewsfeedPostPageRoute.name: (routeData) {
  131. final args = routeData.argsAs<NewsfeedPostPageRouteArgs>(
  132. orElse: () => const NewsfeedPostPageRouteArgs());
  133. return AutoRoutePage<dynamic>(
  134. routeData: routeData,
  135. child: NewsfeedPostPage(
  136. key: args.key,
  137. sCallback: args.sCallback,
  138. fCallback: args.fCallback,
  139. ),
  140. );
  141. },
  142. };
  143. }
  144. /// generated route for
  145. /// [CommunityPage]
  146. class CommunityPageRoute extends PageRouteInfo<void> {
  147. const CommunityPageRoute({List<PageRouteInfo>? children})
  148. : super(
  149. CommunityPageRoute.name,
  150. initialChildren: children,
  151. );
  152. static const String name = 'CommunityPageRoute';
  153. static const PageInfo<void> page = PageInfo<void>(name);
  154. }
  155. /// generated route for
  156. /// [FollowingPage]
  157. class FollowingPageRoute extends PageRouteInfo<void> {
  158. const FollowingPageRoute({List<PageRouteInfo>? children})
  159. : super(
  160. FollowingPageRoute.name,
  161. initialChildren: children,
  162. );
  163. static const String name = 'FollowingPageRoute';
  164. static const PageInfo<void> page = PageInfo<void>(name);
  165. }
  166. /// generated route for
  167. /// [ForrentPage]
  168. class ForrentPageRoute extends PageRouteInfo<void> {
  169. const ForrentPageRoute({List<PageRouteInfo>? children})
  170. : super(
  171. ForrentPageRoute.name,
  172. initialChildren: children,
  173. );
  174. static const String name = 'ForrentPageRoute';
  175. static const PageInfo<void> page = PageInfo<void>(name);
  176. }
  177. /// generated route for
  178. /// [ForsalePage]
  179. class ForsalePageRoute extends PageRouteInfo<void> {
  180. const ForsalePageRoute({List<PageRouteInfo>? children})
  181. : super(
  182. ForsalePageRoute.name,
  183. initialChildren: children,
  184. );
  185. static const String name = 'ForsalePageRoute';
  186. static const PageInfo<void> page = PageInfo<void>(name);
  187. }
  188. /// generated route for
  189. /// [ForyouPage]
  190. class ForyouPageRoute extends PageRouteInfo<void> {
  191. const ForyouPageRoute({List<PageRouteInfo>? children})
  192. : super(
  193. ForyouPageRoute.name,
  194. initialChildren: children,
  195. );
  196. static const String name = 'ForyouPageRoute';
  197. static const PageInfo<void> page = PageInfo<void>(name);
  198. }
  199. /// generated route for
  200. /// [GaragesaleDetailPage]
  201. class GaragesaleDetailPageRoute
  202. extends PageRouteInfo<GaragesaleDetailPageRouteArgs> {
  203. GaragesaleDetailPageRoute({
  204. Key? key,
  205. required int id,
  206. required String type,
  207. List<PageRouteInfo>? children,
  208. }) : super(
  209. GaragesaleDetailPageRoute.name,
  210. args: GaragesaleDetailPageRouteArgs(
  211. key: key,
  212. id: id,
  213. type: type,
  214. ),
  215. initialChildren: children,
  216. );
  217. static const String name = 'GaragesaleDetailPageRoute';
  218. static const PageInfo<GaragesaleDetailPageRouteArgs> page =
  219. PageInfo<GaragesaleDetailPageRouteArgs>(name);
  220. }
  221. class GaragesaleDetailPageRouteArgs {
  222. const GaragesaleDetailPageRouteArgs({
  223. this.key,
  224. required this.id,
  225. required this.type,
  226. });
  227. final Key? key;
  228. final int id;
  229. final String type;
  230. @override
  231. String toString() {
  232. return 'GaragesaleDetailPageRouteArgs{key: $key, id: $id, type: $type}';
  233. }
  234. }
  235. /// generated route for
  236. /// [GaragesalePostPage]
  237. class GaragesalePostPageRoute
  238. extends PageRouteInfo<GaragesalePostPageRouteArgs> {
  239. GaragesalePostPageRoute({
  240. Key? key,
  241. required int type,
  242. void Function()? sCallback,
  243. void Function()? fCallback,
  244. List<PageRouteInfo>? children,
  245. }) : super(
  246. GaragesalePostPageRoute.name,
  247. args: GaragesalePostPageRouteArgs(
  248. key: key,
  249. type: type,
  250. sCallback: sCallback,
  251. fCallback: fCallback,
  252. ),
  253. initialChildren: children,
  254. );
  255. static const String name = 'GaragesalePostPageRoute';
  256. static const PageInfo<GaragesalePostPageRouteArgs> page =
  257. PageInfo<GaragesalePostPageRouteArgs>(name);
  258. }
  259. class GaragesalePostPageRouteArgs {
  260. const GaragesalePostPageRouteArgs({
  261. this.key,
  262. required this.type,
  263. this.sCallback,
  264. this.fCallback,
  265. });
  266. final Key? key;
  267. final int type;
  268. final void Function()? sCallback;
  269. final void Function()? fCallback;
  270. @override
  271. String toString() {
  272. return 'GaragesalePostPageRouteArgs{key: $key, type: $type, sCallback: $sCallback, fCallback: $fCallback}';
  273. }
  274. }
  275. /// generated route for
  276. /// [MyFollowPage]
  277. class MyFollowPageRoute extends PageRouteInfo<void> {
  278. const MyFollowPageRoute({List<PageRouteInfo>? children})
  279. : super(
  280. MyFollowPageRoute.name,
  281. initialChildren: children,
  282. );
  283. static const String name = 'MyFollowPageRoute';
  284. static const PageInfo<void> page = PageInfo<void>(name);
  285. }
  286. /// generated route for
  287. /// [MyFollowerPage]
  288. class MyFollowerPageRoute extends PageRouteInfo<void> {
  289. const MyFollowerPageRoute({List<PageRouteInfo>? children})
  290. : super(
  291. MyFollowerPageRoute.name,
  292. initialChildren: children,
  293. );
  294. static const String name = 'MyFollowerPageRoute';
  295. static const PageInfo<void> page = PageInfo<void>(name);
  296. }
  297. /// generated route for
  298. /// [MyFollowingPage]
  299. class MyFollowingPageRoute extends PageRouteInfo<void> {
  300. const MyFollowingPageRoute({List<PageRouteInfo>? children})
  301. : super(
  302. MyFollowingPageRoute.name,
  303. initialChildren: children,
  304. );
  305. static const String name = 'MyFollowingPageRoute';
  306. static const PageInfo<void> page = PageInfo<void>(name);
  307. }
  308. /// generated route for
  309. /// [MyPostsForRentPage]
  310. class MyPostsForRentPageRoute extends PageRouteInfo<void> {
  311. const MyPostsForRentPageRoute({List<PageRouteInfo>? children})
  312. : super(
  313. MyPostsForRentPageRoute.name,
  314. initialChildren: children,
  315. );
  316. static const String name = 'MyPostsForRentPageRoute';
  317. static const PageInfo<void> page = PageInfo<void>(name);
  318. }
  319. /// generated route for
  320. /// [MyPostsForSalePage]
  321. class MyPostsForSalePageRoute extends PageRouteInfo<void> {
  322. const MyPostsForSalePageRoute({List<PageRouteInfo>? children})
  323. : super(
  324. MyPostsForSalePageRoute.name,
  325. initialChildren: children,
  326. );
  327. static const String name = 'MyPostsForSalePageRoute';
  328. static const PageInfo<void> page = PageInfo<void>(name);
  329. }
  330. /// generated route for
  331. /// [MyPostsNewsfeedPage]
  332. class MyPostsNewsfeedPageRoute extends PageRouteInfo<void> {
  333. const MyPostsNewsfeedPageRoute({List<PageRouteInfo>? children})
  334. : super(
  335. MyPostsNewsfeedPageRoute.name,
  336. initialChildren: children,
  337. );
  338. static const String name = 'MyPostsNewsfeedPageRoute';
  339. static const PageInfo<void> page = PageInfo<void>(name);
  340. }
  341. /// generated route for
  342. /// [MyPostsPage]
  343. class MyPostsPageRoute extends PageRouteInfo<void> {
  344. const MyPostsPageRoute({List<PageRouteInfo>? children})
  345. : super(
  346. MyPostsPageRoute.name,
  347. initialChildren: children,
  348. );
  349. static const String name = 'MyPostsPageRoute';
  350. static const PageInfo<void> page = PageInfo<void>(name);
  351. }
  352. /// generated route for
  353. /// [NewsPage]
  354. class NewsPageRoute extends PageRouteInfo<void> {
  355. const NewsPageRoute({List<PageRouteInfo>? children})
  356. : super(
  357. NewsPageRoute.name,
  358. initialChildren: children,
  359. );
  360. static const String name = 'NewsPageRoute';
  361. static const PageInfo<void> page = PageInfo<void>(name);
  362. }
  363. /// generated route for
  364. /// [NewsfeedDetailPage]
  365. class NewsfeedDetailPageRoute
  366. extends PageRouteInfo<NewsfeedDetailPageRouteArgs> {
  367. NewsfeedDetailPageRoute({
  368. Key? key,
  369. required int? id,
  370. required String? type,
  371. List<PageRouteInfo>? children,
  372. }) : super(
  373. NewsfeedDetailPageRoute.name,
  374. args: NewsfeedDetailPageRouteArgs(
  375. key: key,
  376. id: id,
  377. type: type,
  378. ),
  379. rawPathParams: {
  380. 'id': id,
  381. 'type': type,
  382. },
  383. initialChildren: children,
  384. );
  385. static const String name = 'NewsfeedDetailPageRoute';
  386. static const PageInfo<NewsfeedDetailPageRouteArgs> page =
  387. PageInfo<NewsfeedDetailPageRouteArgs>(name);
  388. }
  389. class NewsfeedDetailPageRouteArgs {
  390. const NewsfeedDetailPageRouteArgs({
  391. this.key,
  392. required this.id,
  393. required this.type,
  394. });
  395. final Key? key;
  396. final int? id;
  397. final String? type;
  398. @override
  399. String toString() {
  400. return 'NewsfeedDetailPageRouteArgs{key: $key, id: $id, type: $type}';
  401. }
  402. }
  403. /// generated route for
  404. /// [NewsfeedPostPage]
  405. class NewsfeedPostPageRoute extends PageRouteInfo<NewsfeedPostPageRouteArgs> {
  406. NewsfeedPostPageRoute({
  407. Key? key,
  408. void Function()? sCallback,
  409. void Function()? fCallback,
  410. List<PageRouteInfo>? children,
  411. }) : super(
  412. NewsfeedPostPageRoute.name,
  413. args: NewsfeedPostPageRouteArgs(
  414. key: key,
  415. sCallback: sCallback,
  416. fCallback: fCallback,
  417. ),
  418. initialChildren: children,
  419. );
  420. static const String name = 'NewsfeedPostPageRoute';
  421. static const PageInfo<NewsfeedPostPageRouteArgs> page =
  422. PageInfo<NewsfeedPostPageRouteArgs>(name);
  423. }
  424. class NewsfeedPostPageRouteArgs {
  425. const NewsfeedPostPageRouteArgs({
  426. this.key,
  427. this.sCallback,
  428. this.fCallback,
  429. });
  430. final Key? key;
  431. final void Function()? sCallback;
  432. final void Function()? fCallback;
  433. @override
  434. String toString() {
  435. return 'NewsfeedPostPageRouteArgs{key: $key, sCallback: $sCallback, fCallback: $fCallback}';
  436. }
  437. }