main_page_router.gr.dart 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  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. FeedbackCreatePageRoute.name: (routeData) {
  14. return AutoRoutePage<dynamic>(
  15. routeData: routeData,
  16. child: const FeedbackCreatePage(),
  17. );
  18. },
  19. FeedbackCreateSuccessPageRoute.name: (routeData) {
  20. return AutoRoutePage<dynamic>(
  21. routeData: routeData,
  22. child: const FeedbackCreateSuccessPage(),
  23. );
  24. },
  25. FeedbackDetailPageRoute.name: (routeData) {
  26. final args = routeData.argsAs<FeedbackDetailPageRouteArgs>();
  27. return AutoRoutePage<dynamic>(
  28. routeData: routeData,
  29. child: FeedbackDetailPage(
  30. key: args.key,
  31. id: args.id,
  32. ),
  33. );
  34. },
  35. FeedbackHistoryPageRoute.name: (routeData) {
  36. return AutoRoutePage<dynamic>(
  37. routeData: routeData,
  38. child: FeedbackHistoryScreen(),
  39. );
  40. },
  41. FeedbackPageRoute.name: (routeData) {
  42. return AutoRoutePage<dynamic>(
  43. routeData: routeData,
  44. child: const FeedbackPage(),
  45. );
  46. },
  47. FeedbackProgressPageRoute.name: (routeData) {
  48. return AutoRoutePage<dynamic>(
  49. routeData: routeData,
  50. child: FeedbackProgressScreen(),
  51. );
  52. },
  53. FeedbackSendPageRoute.name: (routeData) {
  54. return AutoRoutePage<dynamic>(
  55. routeData: routeData,
  56. child: FeedbackSendScreen(),
  57. );
  58. },
  59. HomePageRoute.name: (routeData) {
  60. return AutoRoutePage<dynamic>(
  61. routeData: routeData,
  62. child: const HomePage(),
  63. );
  64. },
  65. HomePropertyNewsPageRoute.name: (routeData) {
  66. return AutoRoutePage<dynamic>(
  67. routeData: routeData,
  68. child: HomePropertyNewsPage(),
  69. );
  70. },
  71. LatestNewsInfoPageRoute.name: (routeData) {
  72. return AutoRoutePage<dynamic>(
  73. routeData: routeData,
  74. child: LatestNewsInfoScreen(),
  75. );
  76. },
  77. LatestNewsInternalPageRoute.name: (routeData) {
  78. return AutoRoutePage<dynamic>(
  79. routeData: routeData,
  80. child: LatestNewsInternalScreen(),
  81. );
  82. },
  83. LatestNewsPageRoute.name: (routeData) {
  84. return AutoRoutePage<dynamic>(
  85. routeData: routeData,
  86. child: const LatestNewsPage(),
  87. );
  88. },
  89. LatestNewsPropertyPageRoute.name: (routeData) {
  90. return AutoRoutePage<dynamic>(
  91. routeData: routeData,
  92. child: LatestNewsPropertyScreen(),
  93. );
  94. },
  95. LatestNewsPublishPageRoute.name: (routeData) {
  96. return AutoRoutePage<dynamic>(
  97. routeData: routeData,
  98. child: LatestNewsPublishScreen(),
  99. );
  100. },
  101. MainPageRoute.name: (routeData) {
  102. return AutoRoutePage<dynamic>(
  103. routeData: routeData,
  104. child: const MainPage(),
  105. );
  106. },
  107. ManagementGuidesPageRoute.name: (routeData) {
  108. return AutoRoutePage<dynamic>(
  109. routeData: routeData,
  110. child: ManagementGuidesPage(),
  111. );
  112. },
  113. MePageRoute.name: (routeData) {
  114. return AutoRoutePage<dynamic>(
  115. routeData: routeData,
  116. child: const MePage(),
  117. );
  118. },
  119. NotificationPageRoute.name: (routeData) {
  120. return AutoRoutePage<dynamic>(
  121. routeData: routeData,
  122. child: const NotificationPage(),
  123. );
  124. },
  125. VisitorActivePageRoute.name: (routeData) {
  126. return AutoRoutePage<dynamic>(
  127. routeData: routeData,
  128. child: VisitorActiveScreen(),
  129. );
  130. },
  131. VisitorHistoryPageRoute.name: (routeData) {
  132. return AutoRoutePage<dynamic>(
  133. routeData: routeData,
  134. child: VisitorHistoryScreen(),
  135. );
  136. },
  137. VisitorNowPageRoute.name: (routeData) {
  138. return AutoRoutePage<dynamic>(
  139. routeData: routeData,
  140. child: VisitorNowScreen(),
  141. );
  142. },
  143. VisitorPageRoute.name: (routeData) {
  144. return AutoRoutePage<dynamic>(
  145. routeData: routeData,
  146. child: const VisitorPage(),
  147. );
  148. },
  149. VisitorRegisterPageRoute.name: (routeData) {
  150. return AutoRoutePage<dynamic>(
  151. routeData: routeData,
  152. child: const VisitorRegisterPage(),
  153. );
  154. },
  155. };
  156. }
  157. /// generated route for
  158. /// [FeedbackCreatePage]
  159. class FeedbackCreatePageRoute extends PageRouteInfo<void> {
  160. const FeedbackCreatePageRoute({List<PageRouteInfo>? children})
  161. : super(
  162. FeedbackCreatePageRoute.name,
  163. initialChildren: children,
  164. );
  165. static const String name = 'FeedbackCreatePageRoute';
  166. static const PageInfo<void> page = PageInfo<void>(name);
  167. }
  168. /// generated route for
  169. /// [FeedbackCreateSuccessPage]
  170. class FeedbackCreateSuccessPageRoute extends PageRouteInfo<void> {
  171. const FeedbackCreateSuccessPageRoute({List<PageRouteInfo>? children})
  172. : super(
  173. FeedbackCreateSuccessPageRoute.name,
  174. initialChildren: children,
  175. );
  176. static const String name = 'FeedbackCreateSuccessPageRoute';
  177. static const PageInfo<void> page = PageInfo<void>(name);
  178. }
  179. /// generated route for
  180. /// [FeedbackDetailPage]
  181. class FeedbackDetailPageRoute
  182. extends PageRouteInfo<FeedbackDetailPageRouteArgs> {
  183. FeedbackDetailPageRoute({
  184. Key? key,
  185. required String? id,
  186. List<PageRouteInfo>? children,
  187. }) : super(
  188. FeedbackDetailPageRoute.name,
  189. args: FeedbackDetailPageRouteArgs(
  190. key: key,
  191. id: id,
  192. ),
  193. initialChildren: children,
  194. );
  195. static const String name = 'FeedbackDetailPageRoute';
  196. static const PageInfo<FeedbackDetailPageRouteArgs> page =
  197. PageInfo<FeedbackDetailPageRouteArgs>(name);
  198. }
  199. class FeedbackDetailPageRouteArgs {
  200. const FeedbackDetailPageRouteArgs({
  201. this.key,
  202. required this.id,
  203. });
  204. final Key? key;
  205. final String? id;
  206. @override
  207. String toString() {
  208. return 'FeedbackDetailPageRouteArgs{key: $key, id: $id}';
  209. }
  210. }
  211. /// generated route for
  212. /// [FeedbackHistoryScreen]
  213. class FeedbackHistoryPageRoute extends PageRouteInfo<void> {
  214. const FeedbackHistoryPageRoute({List<PageRouteInfo>? children})
  215. : super(
  216. FeedbackHistoryPageRoute.name,
  217. initialChildren: children,
  218. );
  219. static const String name = 'FeedbackHistoryPageRoute';
  220. static const PageInfo<void> page = PageInfo<void>(name);
  221. }
  222. /// generated route for
  223. /// [FeedbackPage]
  224. class FeedbackPageRoute extends PageRouteInfo<void> {
  225. const FeedbackPageRoute({List<PageRouteInfo>? children})
  226. : super(
  227. FeedbackPageRoute.name,
  228. initialChildren: children,
  229. );
  230. static const String name = 'FeedbackPageRoute';
  231. static const PageInfo<void> page = PageInfo<void>(name);
  232. }
  233. /// generated route for
  234. /// [FeedbackProgressScreen]
  235. class FeedbackProgressPageRoute extends PageRouteInfo<void> {
  236. const FeedbackProgressPageRoute({List<PageRouteInfo>? children})
  237. : super(
  238. FeedbackProgressPageRoute.name,
  239. initialChildren: children,
  240. );
  241. static const String name = 'FeedbackProgressPageRoute';
  242. static const PageInfo<void> page = PageInfo<void>(name);
  243. }
  244. /// generated route for
  245. /// [FeedbackSendScreen]
  246. class FeedbackSendPageRoute extends PageRouteInfo<void> {
  247. const FeedbackSendPageRoute({List<PageRouteInfo>? children})
  248. : super(
  249. FeedbackSendPageRoute.name,
  250. initialChildren: children,
  251. );
  252. static const String name = 'FeedbackSendPageRoute';
  253. static const PageInfo<void> page = PageInfo<void>(name);
  254. }
  255. /// generated route for
  256. /// [HomePage]
  257. class HomePageRoute extends PageRouteInfo<void> {
  258. const HomePageRoute({List<PageRouteInfo>? children})
  259. : super(
  260. HomePageRoute.name,
  261. initialChildren: children,
  262. );
  263. static const String name = 'HomePageRoute';
  264. static const PageInfo<void> page = PageInfo<void>(name);
  265. }
  266. /// generated route for
  267. /// [HomePropertyNewsPage]
  268. class HomePropertyNewsPageRoute extends PageRouteInfo<void> {
  269. const HomePropertyNewsPageRoute({List<PageRouteInfo>? children})
  270. : super(
  271. HomePropertyNewsPageRoute.name,
  272. initialChildren: children,
  273. );
  274. static const String name = 'HomePropertyNewsPageRoute';
  275. static const PageInfo<void> page = PageInfo<void>(name);
  276. }
  277. /// generated route for
  278. /// [LatestNewsInfoScreen]
  279. class LatestNewsInfoPageRoute extends PageRouteInfo<void> {
  280. const LatestNewsInfoPageRoute({List<PageRouteInfo>? children})
  281. : super(
  282. LatestNewsInfoPageRoute.name,
  283. initialChildren: children,
  284. );
  285. static const String name = 'LatestNewsInfoPageRoute';
  286. static const PageInfo<void> page = PageInfo<void>(name);
  287. }
  288. /// generated route for
  289. /// [LatestNewsInternalScreen]
  290. class LatestNewsInternalPageRoute extends PageRouteInfo<void> {
  291. const LatestNewsInternalPageRoute({List<PageRouteInfo>? children})
  292. : super(
  293. LatestNewsInternalPageRoute.name,
  294. initialChildren: children,
  295. );
  296. static const String name = 'LatestNewsInternalPageRoute';
  297. static const PageInfo<void> page = PageInfo<void>(name);
  298. }
  299. /// generated route for
  300. /// [LatestNewsPage]
  301. class LatestNewsPageRoute extends PageRouteInfo<void> {
  302. const LatestNewsPageRoute({List<PageRouteInfo>? children})
  303. : super(
  304. LatestNewsPageRoute.name,
  305. initialChildren: children,
  306. );
  307. static const String name = 'LatestNewsPageRoute';
  308. static const PageInfo<void> page = PageInfo<void>(name);
  309. }
  310. /// generated route for
  311. /// [LatestNewsPropertyScreen]
  312. class LatestNewsPropertyPageRoute extends PageRouteInfo<void> {
  313. const LatestNewsPropertyPageRoute({List<PageRouteInfo>? children})
  314. : super(
  315. LatestNewsPropertyPageRoute.name,
  316. initialChildren: children,
  317. );
  318. static const String name = 'LatestNewsPropertyPageRoute';
  319. static const PageInfo<void> page = PageInfo<void>(name);
  320. }
  321. /// generated route for
  322. /// [LatestNewsPublishScreen]
  323. class LatestNewsPublishPageRoute extends PageRouteInfo<void> {
  324. const LatestNewsPublishPageRoute({List<PageRouteInfo>? children})
  325. : super(
  326. LatestNewsPublishPageRoute.name,
  327. initialChildren: children,
  328. );
  329. static const String name = 'LatestNewsPublishPageRoute';
  330. static const PageInfo<void> page = PageInfo<void>(name);
  331. }
  332. /// generated route for
  333. /// [MainPage]
  334. class MainPageRoute extends PageRouteInfo<void> {
  335. const MainPageRoute({List<PageRouteInfo>? children})
  336. : super(
  337. MainPageRoute.name,
  338. initialChildren: children,
  339. );
  340. static const String name = 'MainPageRoute';
  341. static const PageInfo<void> page = PageInfo<void>(name);
  342. }
  343. /// generated route for
  344. /// [ManagementGuidesPage]
  345. class ManagementGuidesPageRoute extends PageRouteInfo<void> {
  346. const ManagementGuidesPageRoute({List<PageRouteInfo>? children})
  347. : super(
  348. ManagementGuidesPageRoute.name,
  349. initialChildren: children,
  350. );
  351. static const String name = 'ManagementGuidesPageRoute';
  352. static const PageInfo<void> page = PageInfo<void>(name);
  353. }
  354. /// generated route for
  355. /// [MePage]
  356. class MePageRoute extends PageRouteInfo<void> {
  357. const MePageRoute({List<PageRouteInfo>? children})
  358. : super(
  359. MePageRoute.name,
  360. initialChildren: children,
  361. );
  362. static const String name = 'MePageRoute';
  363. static const PageInfo<void> page = PageInfo<void>(name);
  364. }
  365. /// generated route for
  366. /// [NotificationPage]
  367. class NotificationPageRoute extends PageRouteInfo<void> {
  368. const NotificationPageRoute({List<PageRouteInfo>? children})
  369. : super(
  370. NotificationPageRoute.name,
  371. initialChildren: children,
  372. );
  373. static const String name = 'NotificationPageRoute';
  374. static const PageInfo<void> page = PageInfo<void>(name);
  375. }
  376. /// generated route for
  377. /// [VisitorActiveScreen]
  378. class VisitorActivePageRoute extends PageRouteInfo<void> {
  379. const VisitorActivePageRoute({List<PageRouteInfo>? children})
  380. : super(
  381. VisitorActivePageRoute.name,
  382. initialChildren: children,
  383. );
  384. static const String name = 'VisitorActivePageRoute';
  385. static const PageInfo<void> page = PageInfo<void>(name);
  386. }
  387. /// generated route for
  388. /// [VisitorHistoryScreen]
  389. class VisitorHistoryPageRoute extends PageRouteInfo<void> {
  390. const VisitorHistoryPageRoute({List<PageRouteInfo>? children})
  391. : super(
  392. VisitorHistoryPageRoute.name,
  393. initialChildren: children,
  394. );
  395. static const String name = 'VisitorHistoryPageRoute';
  396. static const PageInfo<void> page = PageInfo<void>(name);
  397. }
  398. /// generated route for
  399. /// [VisitorNowScreen]
  400. class VisitorNowPageRoute extends PageRouteInfo<void> {
  401. const VisitorNowPageRoute({List<PageRouteInfo>? children})
  402. : super(
  403. VisitorNowPageRoute.name,
  404. initialChildren: children,
  405. );
  406. static const String name = 'VisitorNowPageRoute';
  407. static const PageInfo<void> page = PageInfo<void>(name);
  408. }
  409. /// generated route for
  410. /// [VisitorPage]
  411. class VisitorPageRoute extends PageRouteInfo<void> {
  412. const VisitorPageRoute({List<PageRouteInfo>? children})
  413. : super(
  414. VisitorPageRoute.name,
  415. initialChildren: children,
  416. );
  417. static const String name = 'VisitorPageRoute';
  418. static const PageInfo<void> page = PageInfo<void>(name);
  419. }
  420. /// generated route for
  421. /// [VisitorRegisterPage]
  422. class VisitorRegisterPageRoute extends PageRouteInfo<void> {
  423. const VisitorRegisterPageRoute({List<PageRouteInfo>? children})
  424. : super(
  425. VisitorRegisterPageRoute.name,
  426. initialChildren: children,
  427. );
  428. static const String name = 'VisitorRegisterPageRoute';
  429. static const PageInfo<void> page = PageInfo<void>(name);
  430. }