property_page_router.gr.dart 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 'property_page_router.dart';
  8. abstract class _$PropertyPageRouter extends RootStackRouter {
  9. // ignore: unused_element
  10. _$PropertyPageRouter({super.navigatorKey});
  11. @override
  12. final Map<String, PageFactory> pagesMap = {
  13. PropertyIoanPageRoute.name: (routeData) {
  14. return AutoRoutePage<dynamic>(
  15. routeData: routeData,
  16. child: const PropertyIoanPage(),
  17. );
  18. },
  19. PropertyNewsDetailPageRoute.name: (routeData) {
  20. final pathParams = routeData.inheritedPathParams;
  21. final args = routeData.argsAs<PropertyNewsDetailPageRouteArgs>(
  22. orElse: () =>
  23. PropertyNewsDetailPageRouteArgs(id: pathParams.getInt('id')));
  24. return AutoRoutePage<dynamic>(
  25. routeData: routeData,
  26. child: PropertyNewsDetailPage(
  27. key: args.key,
  28. id: args.id,
  29. ),
  30. );
  31. },
  32. PropertyNewsPageRoute.name: (routeData) {
  33. return AutoRoutePage<dynamic>(
  34. routeData: routeData,
  35. child: const PropertyNewsPage(),
  36. );
  37. },
  38. PropertyPageRoute.name: (routeData) {
  39. return AutoRoutePage<dynamic>(
  40. routeData: routeData,
  41. child: const PropertyPage(),
  42. );
  43. },
  44. PropertyRentPageRoute.name: (routeData) {
  45. return AutoRoutePage<dynamic>(
  46. routeData: routeData,
  47. child: const PropertyRentPage(),
  48. );
  49. },
  50. PropertySalePageRoute.name: (routeData) {
  51. return AutoRoutePage<dynamic>(
  52. routeData: routeData,
  53. child: const PropertySalePage(),
  54. );
  55. },
  56. };
  57. }
  58. /// generated route for
  59. /// [PropertyIoanPage]
  60. class PropertyIoanPageRoute extends PageRouteInfo<void> {
  61. const PropertyIoanPageRoute({List<PageRouteInfo>? children})
  62. : super(
  63. PropertyIoanPageRoute.name,
  64. initialChildren: children,
  65. );
  66. static const String name = 'PropertyIoanPageRoute';
  67. static const PageInfo<void> page = PageInfo<void>(name);
  68. }
  69. /// generated route for
  70. /// [PropertyNewsDetailPage]
  71. class PropertyNewsDetailPageRoute
  72. extends PageRouteInfo<PropertyNewsDetailPageRouteArgs> {
  73. PropertyNewsDetailPageRoute({
  74. Key? key,
  75. required int id,
  76. List<PageRouteInfo>? children,
  77. }) : super(
  78. PropertyNewsDetailPageRoute.name,
  79. args: PropertyNewsDetailPageRouteArgs(
  80. key: key,
  81. id: id,
  82. ),
  83. rawPathParams: {'id': id},
  84. initialChildren: children,
  85. );
  86. static const String name = 'PropertyNewsDetailPageRoute';
  87. static const PageInfo<PropertyNewsDetailPageRouteArgs> page =
  88. PageInfo<PropertyNewsDetailPageRouteArgs>(name);
  89. }
  90. class PropertyNewsDetailPageRouteArgs {
  91. const PropertyNewsDetailPageRouteArgs({
  92. this.key,
  93. required this.id,
  94. });
  95. final Key? key;
  96. final int id;
  97. @override
  98. String toString() {
  99. return 'PropertyNewsDetailPageRouteArgs{key: $key, id: $id}';
  100. }
  101. }
  102. /// generated route for
  103. /// [PropertyNewsPage]
  104. class PropertyNewsPageRoute extends PageRouteInfo<void> {
  105. const PropertyNewsPageRoute({List<PageRouteInfo>? children})
  106. : super(
  107. PropertyNewsPageRoute.name,
  108. initialChildren: children,
  109. );
  110. static const String name = 'PropertyNewsPageRoute';
  111. static const PageInfo<void> page = PageInfo<void>(name);
  112. }
  113. /// generated route for
  114. /// [PropertyPage]
  115. class PropertyPageRoute extends PageRouteInfo<void> {
  116. const PropertyPageRoute({List<PageRouteInfo>? children})
  117. : super(
  118. PropertyPageRoute.name,
  119. initialChildren: children,
  120. );
  121. static const String name = 'PropertyPageRoute';
  122. static const PageInfo<void> page = PageInfo<void>(name);
  123. }
  124. /// generated route for
  125. /// [PropertyRentPage]
  126. class PropertyRentPageRoute extends PageRouteInfo<void> {
  127. const PropertyRentPageRoute({List<PageRouteInfo>? children})
  128. : super(
  129. PropertyRentPageRoute.name,
  130. initialChildren: children,
  131. );
  132. static const String name = 'PropertyRentPageRoute';
  133. static const PageInfo<void> page = PageInfo<void>(name);
  134. }
  135. /// generated route for
  136. /// [PropertySalePage]
  137. class PropertySalePageRoute extends PageRouteInfo<void> {
  138. const PropertySalePageRoute({List<PageRouteInfo>? children})
  139. : super(
  140. PropertySalePageRoute.name,
  141. initialChildren: children,
  142. );
  143. static const String name = 'PropertySalePageRoute';
  144. static const PageInfo<void> page = PageInfo<void>(name);
  145. }