123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // **************************************************************************
- // AutoRouterGenerator
- // **************************************************************************
- // ignore_for_file: type=lint
- // coverage:ignore-file
- part of 'facility_page_router.dart';
- abstract class _$FacilityPageRouter extends RootStackRouter {
- // ignore: unused_element
- _$FacilityPageRouter({super.navigatorKey});
- @override
- final Map<String, PageFactory> pagesMap = {
- BookConfirmPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const BookConfirmPage(),
- );
- },
- FacilityActivePageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: FacilityActiveScreen(),
- );
- },
- FacilityBookPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: FacilityBookScreen(),
- );
- },
- FacilityBookingPageRoute.name: (routeData) {
- final args = routeData.argsAs<FacilityBookingPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: FacilityBookingPage(
- key: args.key,
- facilityEntity: args.facilityEntity,
- ),
- );
- },
- FacilityDepositPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: FacilityDepositScreen(),
- );
- },
- FacilityDetailPageRoute.name: (routeData) {
- final args = routeData.argsAs<FacilityDetailPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: FacilityDetailPage(
- key: args.key,
- bookingId: args.bookingId,
- ),
- );
- },
- FacilityHistoryPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: FacilityHistoryScreen(),
- );
- },
- FacilityLocationPageRoute.name: (routeData) {
- final args = routeData.argsAs<FacilityLocationPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: FacilityLocationPage(
- key: args.key,
- imageUrls: args.imageUrls,
- ),
- );
- },
- FacilityPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const FacilityPage(),
- );
- },
- };
- }
- /// generated route for
- /// [BookConfirmPage]
- class BookConfirmPageRoute extends PageRouteInfo<void> {
- const BookConfirmPageRoute({List<PageRouteInfo>? children})
- : super(
- BookConfirmPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'BookConfirmPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [FacilityActiveScreen]
- class FacilityActivePageRoute extends PageRouteInfo<void> {
- const FacilityActivePageRoute({List<PageRouteInfo>? children})
- : super(
- FacilityActivePageRoute.name,
- initialChildren: children,
- );
- static const String name = 'FacilityActivePageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [FacilityBookScreen]
- class FacilityBookPageRoute extends PageRouteInfo<void> {
- const FacilityBookPageRoute({List<PageRouteInfo>? children})
- : super(
- FacilityBookPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'FacilityBookPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [FacilityBookingPage]
- class FacilityBookingPageRoute
- extends PageRouteInfo<FacilityBookingPageRouteArgs> {
- FacilityBookingPageRoute({
- Key? key,
- required FacilityIndexEntity facilityEntity,
- List<PageRouteInfo>? children,
- }) : super(
- FacilityBookingPageRoute.name,
- args: FacilityBookingPageRouteArgs(
- key: key,
- facilityEntity: facilityEntity,
- ),
- initialChildren: children,
- );
- static const String name = 'FacilityBookingPageRoute';
- static const PageInfo<FacilityBookingPageRouteArgs> page =
- PageInfo<FacilityBookingPageRouteArgs>(name);
- }
- class FacilityBookingPageRouteArgs {
- const FacilityBookingPageRouteArgs({
- this.key,
- required this.facilityEntity,
- });
- final Key? key;
- final FacilityIndexEntity facilityEntity;
- @override
- String toString() {
- return 'FacilityBookingPageRouteArgs{key: $key, facilityEntity: $facilityEntity}';
- }
- }
- /// generated route for
- /// [FacilityDepositScreen]
- class FacilityDepositPageRoute extends PageRouteInfo<void> {
- const FacilityDepositPageRoute({List<PageRouteInfo>? children})
- : super(
- FacilityDepositPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'FacilityDepositPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [FacilityDetailPage]
- class FacilityDetailPageRoute
- extends PageRouteInfo<FacilityDetailPageRouteArgs> {
- FacilityDetailPageRoute({
- Key? key,
- required String? bookingId,
- List<PageRouteInfo>? children,
- }) : super(
- FacilityDetailPageRoute.name,
- args: FacilityDetailPageRouteArgs(
- key: key,
- bookingId: bookingId,
- ),
- initialChildren: children,
- );
- static const String name = 'FacilityDetailPageRoute';
- static const PageInfo<FacilityDetailPageRouteArgs> page =
- PageInfo<FacilityDetailPageRouteArgs>(name);
- }
- class FacilityDetailPageRouteArgs {
- const FacilityDetailPageRouteArgs({
- this.key,
- required this.bookingId,
- });
- final Key? key;
- final String? bookingId;
- @override
- String toString() {
- return 'FacilityDetailPageRouteArgs{key: $key, bookingId: $bookingId}';
- }
- }
- /// generated route for
- /// [FacilityHistoryScreen]
- class FacilityHistoryPageRoute extends PageRouteInfo<void> {
- const FacilityHistoryPageRoute({List<PageRouteInfo>? children})
- : super(
- FacilityHistoryPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'FacilityHistoryPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [FacilityLocationPage]
- class FacilityLocationPageRoute
- extends PageRouteInfo<FacilityLocationPageRouteArgs> {
- FacilityLocationPageRoute({
- Key? key,
- required List<String> imageUrls,
- List<PageRouteInfo>? children,
- }) : super(
- FacilityLocationPageRoute.name,
- args: FacilityLocationPageRouteArgs(
- key: key,
- imageUrls: imageUrls,
- ),
- initialChildren: children,
- );
- static const String name = 'FacilityLocationPageRoute';
- static const PageInfo<FacilityLocationPageRouteArgs> page =
- PageInfo<FacilityLocationPageRouteArgs>(name);
- }
- class FacilityLocationPageRouteArgs {
- const FacilityLocationPageRouteArgs({
- this.key,
- required this.imageUrls,
- });
- final Key? key;
- final List<String> imageUrls;
- @override
- String toString() {
- return 'FacilityLocationPageRouteArgs{key: $key, imageUrls: $imageUrls}';
- }
- }
- /// generated route for
- /// [FacilityPage]
- class FacilityPageRoute extends PageRouteInfo<void> {
- const FacilityPageRoute({List<PageRouteInfo>? children})
- : super(
- FacilityPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'FacilityPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
|