123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // **************************************************************************
- // AutoRouterGenerator
- // **************************************************************************
- // ignore_for_file: type=lint
- // coverage:ignore-file
- part of 'property_page_router.dart';
- abstract class _$PropertyPageRouter extends RootStackRouter {
- // ignore: unused_element
- _$PropertyPageRouter({super.navigatorKey});
- @override
- final Map<String, PageFactory> pagesMap = {
- PropertyIoanPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const PropertyIoanPage(),
- );
- },
- PropertyNewsDetailPageRoute.name: (routeData) {
- final pathParams = routeData.inheritedPathParams;
- final args = routeData.argsAs<PropertyNewsDetailPageRouteArgs>(
- orElse: () =>
- PropertyNewsDetailPageRouteArgs(id: pathParams.getInt('id')));
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: PropertyNewsDetailPage(
- key: args.key,
- id: args.id,
- ),
- );
- },
- PropertyNewsPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const PropertyNewsPage(),
- );
- },
- PropertyPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const PropertyPage(),
- );
- },
- PropertyRentPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const PropertyRentPage(),
- );
- },
- PropertySalePageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const PropertySalePage(),
- );
- },
- };
- }
- /// generated route for
- /// [PropertyIoanPage]
- class PropertyIoanPageRoute extends PageRouteInfo<void> {
- const PropertyIoanPageRoute({List<PageRouteInfo>? children})
- : super(
- PropertyIoanPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'PropertyIoanPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [PropertyNewsDetailPage]
- class PropertyNewsDetailPageRoute
- extends PageRouteInfo<PropertyNewsDetailPageRouteArgs> {
- PropertyNewsDetailPageRoute({
- Key? key,
- required int id,
- List<PageRouteInfo>? children,
- }) : super(
- PropertyNewsDetailPageRoute.name,
- args: PropertyNewsDetailPageRouteArgs(
- key: key,
- id: id,
- ),
- rawPathParams: {'id': id},
- initialChildren: children,
- );
- static const String name = 'PropertyNewsDetailPageRoute';
- static const PageInfo<PropertyNewsDetailPageRouteArgs> page =
- PageInfo<PropertyNewsDetailPageRouteArgs>(name);
- }
- class PropertyNewsDetailPageRouteArgs {
- const PropertyNewsDetailPageRouteArgs({
- this.key,
- required this.id,
- });
- final Key? key;
- final int id;
- @override
- String toString() {
- return 'PropertyNewsDetailPageRouteArgs{key: $key, id: $id}';
- }
- }
- /// generated route for
- /// [PropertyNewsPage]
- class PropertyNewsPageRoute extends PageRouteInfo<void> {
- const PropertyNewsPageRoute({List<PageRouteInfo>? children})
- : super(
- PropertyNewsPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'PropertyNewsPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [PropertyPage]
- class PropertyPageRoute extends PageRouteInfo<void> {
- const PropertyPageRoute({List<PageRouteInfo>? children})
- : super(
- PropertyPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'PropertyPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [PropertyRentPage]
- class PropertyRentPageRoute extends PageRouteInfo<void> {
- const PropertyRentPageRoute({List<PageRouteInfo>? children})
- : super(
- PropertyRentPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'PropertyRentPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [PropertySalePage]
- class PropertySalePageRoute extends PageRouteInfo<void> {
- const PropertySalePageRoute({List<PageRouteInfo>? children})
- : super(
- PropertySalePageRoute.name,
- initialChildren: children,
- );
- static const String name = 'PropertySalePageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
|