123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // **************************************************************************
- // AutoRouterGenerator
- // **************************************************************************
- // ignore_for_file: type=lint
- // coverage:ignore-file
- part of 'services_page_router.dart';
- abstract class _$ServicesPageRouter extends RootStackRouter {
- // ignore: unused_element
- _$ServicesPageRouter({super.navigatorKey});
- @override
- final Map<String, PageFactory> pagesMap = {
- CleanOrderCancelSuccessPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const CleanOrderCancelSuccessPage(),
- );
- },
- CleanOrderDetailPageRoute.name: (routeData) {
- final pathParams = routeData.inheritedPathParams;
- final args = routeData.argsAs<CleanOrderDetailPageRouteArgs>(
- orElse: () => CleanOrderDetailPageRouteArgs(
- id: pathParams.getInt('id'),
- cleanServiceType: pathParams.getString('cleanServiceType'),
- serviesStatusCode: pathParams.getInt('serviesStatusCode'),
- ));
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: CleanOrderDetailPage(
- key: args.key,
- id: args.id,
- cleanServiceType: args.cleanServiceType,
- serviesStatusCode: args.serviesStatusCode,
- ),
- );
- },
- EvaluateCreateSuccessPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const EvaluateCreateSuccessPage(),
- );
- },
- HistoryPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const HistoryPage(),
- );
- },
- HomeServicePageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const HomeServicePage(),
- );
- },
- InProgressPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const InProgressPage(),
- );
- },
- RepairHistoryPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const RepairHistoryPage(),
- );
- },
- RepairHomeServicePageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const RepairHomeServicePage(),
- );
- },
- RepairInProgressPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const RepairInProgressPage(),
- );
- },
- RepairPageRoute.name: (routeData) {
- final args = routeData.argsAs<RepairPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: RepairPage(
- key: args.key,
- parentCategoryId: args.parentCategoryId,
- ),
- );
- },
- ServiceCleanDetailPageRoute.name: (routeData) {
- final args = routeData.argsAs<ServiceCleanDetailPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: ServiceCleanDetailPage(
- key: args.key,
- id: args.id,
- cleanServiceType: args.cleanServiceType,
- liked: args.liked,
- likesCount: args.likesCount,
- ),
- );
- },
- ServiceEvaluateCreatePageRoute.name: (routeData) {
- final args = routeData.argsAs<ServiceEvaluateCreatePageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: ServiceEvaluateCreatePage(
- key: args.key,
- id: args.id,
- cleanServiceType: args.cleanServiceType,
- ),
- );
- },
- ServiceEvaluateListPageRoute.name: (routeData) {
- final args = routeData.argsAs<ServiceEvaluateListPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: ServiceEvaluateListPage(
- key: args.key,
- id: args.id,
- cleanServiceType: args.cleanServiceType,
- ),
- );
- },
- ServiceOrderConfirmPageRoute.name: (routeData) {
- final args = routeData.argsAs<ServiceOrderConfirmPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: ServiceOrderConfirmPage(
- key: args.key,
- id: args.id,
- cleanServiceType: args.cleanServiceType,
- ),
- );
- },
- ServicePaySuccessPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const ServicePaySuccessPage(),
- );
- },
- ServiceRepairDetailPageRoute.name: (routeData) {
- final pathParams = routeData.inheritedPathParams;
- final args = routeData.argsAs<ServiceRepairDetailPageRouteArgs>(
- orElse: () => ServiceRepairDetailPageRouteArgs(
- id: pathParams.getInt('id'),
- cleanServiceType: pathParams.optString('cleanServiceType'),
- ));
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: ServiceRepairDetailPage(
- key: args.key,
- id: args.id,
- cleanServiceType: args.cleanServiceType,
- ),
- );
- },
- ServicesMainPageRoute.name: (routeData) {
- final args = routeData.argsAs<ServicesMainPageRouteArgs>(
- orElse: () => const ServicesMainPageRouteArgs());
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: ServicesMainPage(key: args.key),
- );
- },
- ServicesPageRoute.name: (routeData) {
- final args = routeData.argsAs<ServicesPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: ServicesPage(
- key: args.key,
- parentCategoryId: args.parentCategoryId,
- ),
- );
- },
- };
- }
- /// generated route for
- /// [CleanOrderCancelSuccessPage]
- class CleanOrderCancelSuccessPageRoute extends PageRouteInfo<void> {
- const CleanOrderCancelSuccessPageRoute({List<PageRouteInfo>? children})
- : super(
- CleanOrderCancelSuccessPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'CleanOrderCancelSuccessPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [CleanOrderDetailPage]
- class CleanOrderDetailPageRoute
- extends PageRouteInfo<CleanOrderDetailPageRouteArgs> {
- CleanOrderDetailPageRoute({
- Key? key,
- required int id,
- required String cleanServiceType,
- required int serviesStatusCode,
- List<PageRouteInfo>? children,
- }) : super(
- CleanOrderDetailPageRoute.name,
- args: CleanOrderDetailPageRouteArgs(
- key: key,
- id: id,
- cleanServiceType: cleanServiceType,
- serviesStatusCode: serviesStatusCode,
- ),
- rawPathParams: {
- 'id': id,
- 'cleanServiceType': cleanServiceType,
- 'serviesStatusCode': serviesStatusCode,
- },
- initialChildren: children,
- );
- static const String name = 'CleanOrderDetailPageRoute';
- static const PageInfo<CleanOrderDetailPageRouteArgs> page =
- PageInfo<CleanOrderDetailPageRouteArgs>(name);
- }
- class CleanOrderDetailPageRouteArgs {
- const CleanOrderDetailPageRouteArgs({
- this.key,
- required this.id,
- required this.cleanServiceType,
- required this.serviesStatusCode,
- });
- final Key? key;
- final int id;
- final String cleanServiceType;
- final int serviesStatusCode;
- @override
- String toString() {
- return 'CleanOrderDetailPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType, serviesStatusCode: $serviesStatusCode}';
- }
- }
- /// generated route for
- /// [EvaluateCreateSuccessPage]
- class EvaluateCreateSuccessPageRoute extends PageRouteInfo<void> {
- const EvaluateCreateSuccessPageRoute({List<PageRouteInfo>? children})
- : super(
- EvaluateCreateSuccessPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'EvaluateCreateSuccessPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [HistoryPage]
- class HistoryPageRoute extends PageRouteInfo<void> {
- const HistoryPageRoute({List<PageRouteInfo>? children})
- : super(
- HistoryPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'HistoryPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [HomeServicePage]
- class HomeServicePageRoute extends PageRouteInfo<void> {
- const HomeServicePageRoute({List<PageRouteInfo>? children})
- : super(
- HomeServicePageRoute.name,
- initialChildren: children,
- );
- static const String name = 'HomeServicePageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [InProgressPage]
- class InProgressPageRoute extends PageRouteInfo<void> {
- const InProgressPageRoute({List<PageRouteInfo>? children})
- : super(
- InProgressPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'InProgressPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [RepairHistoryPage]
- class RepairHistoryPageRoute extends PageRouteInfo<void> {
- const RepairHistoryPageRoute({List<PageRouteInfo>? children})
- : super(
- RepairHistoryPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'RepairHistoryPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [RepairHomeServicePage]
- class RepairHomeServicePageRoute extends PageRouteInfo<void> {
- const RepairHomeServicePageRoute({List<PageRouteInfo>? children})
- : super(
- RepairHomeServicePageRoute.name,
- initialChildren: children,
- );
- static const String name = 'RepairHomeServicePageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [RepairInProgressPage]
- class RepairInProgressPageRoute extends PageRouteInfo<void> {
- const RepairInProgressPageRoute({List<PageRouteInfo>? children})
- : super(
- RepairInProgressPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'RepairInProgressPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [RepairPage]
- class RepairPageRoute extends PageRouteInfo<RepairPageRouteArgs> {
- RepairPageRoute({
- Key? key,
- required int parentCategoryId,
- List<PageRouteInfo>? children,
- }) : super(
- RepairPageRoute.name,
- args: RepairPageRouteArgs(
- key: key,
- parentCategoryId: parentCategoryId,
- ),
- initialChildren: children,
- );
- static const String name = 'RepairPageRoute';
- static const PageInfo<RepairPageRouteArgs> page =
- PageInfo<RepairPageRouteArgs>(name);
- }
- class RepairPageRouteArgs {
- const RepairPageRouteArgs({
- this.key,
- required this.parentCategoryId,
- });
- final Key? key;
- final int parentCategoryId;
- @override
- String toString() {
- return 'RepairPageRouteArgs{key: $key, parentCategoryId: $parentCategoryId}';
- }
- }
- /// generated route for
- /// [ServiceCleanDetailPage]
- class ServiceCleanDetailPageRoute
- extends PageRouteInfo<ServiceCleanDetailPageRouteArgs> {
- ServiceCleanDetailPageRoute({
- Key? key,
- required int id,
- required String cleanServiceType,
- required bool liked,
- required int likesCount,
- List<PageRouteInfo>? children,
- }) : super(
- ServiceCleanDetailPageRoute.name,
- args: ServiceCleanDetailPageRouteArgs(
- key: key,
- id: id,
- cleanServiceType: cleanServiceType,
- liked: liked,
- likesCount: likesCount,
- ),
- rawPathParams: {
- 'id': id,
- 'cleanServiceType': cleanServiceType,
- },
- initialChildren: children,
- );
- static const String name = 'ServiceCleanDetailPageRoute';
- static const PageInfo<ServiceCleanDetailPageRouteArgs> page =
- PageInfo<ServiceCleanDetailPageRouteArgs>(name);
- }
- class ServiceCleanDetailPageRouteArgs {
- const ServiceCleanDetailPageRouteArgs({
- this.key,
- required this.id,
- required this.cleanServiceType,
- required this.liked,
- required this.likesCount,
- });
- final Key? key;
- final int id;
- final String cleanServiceType;
- final bool liked;
- final int likesCount;
- @override
- String toString() {
- return 'ServiceCleanDetailPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType, liked: $liked, likesCount: $likesCount}';
- }
- }
- /// generated route for
- /// [ServiceEvaluateCreatePage]
- class ServiceEvaluateCreatePageRoute
- extends PageRouteInfo<ServiceEvaluateCreatePageRouteArgs> {
- ServiceEvaluateCreatePageRoute({
- Key? key,
- required int id,
- required String cleanServiceType,
- List<PageRouteInfo>? children,
- }) : super(
- ServiceEvaluateCreatePageRoute.name,
- args: ServiceEvaluateCreatePageRouteArgs(
- key: key,
- id: id,
- cleanServiceType: cleanServiceType,
- ),
- initialChildren: children,
- );
- static const String name = 'ServiceEvaluateCreatePageRoute';
- static const PageInfo<ServiceEvaluateCreatePageRouteArgs> page =
- PageInfo<ServiceEvaluateCreatePageRouteArgs>(name);
- }
- class ServiceEvaluateCreatePageRouteArgs {
- const ServiceEvaluateCreatePageRouteArgs({
- this.key,
- required this.id,
- required this.cleanServiceType,
- });
- final Key? key;
- final int id;
- final String cleanServiceType;
- @override
- String toString() {
- return 'ServiceEvaluateCreatePageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
- }
- }
- /// generated route for
- /// [ServiceEvaluateListPage]
- class ServiceEvaluateListPageRoute
- extends PageRouteInfo<ServiceEvaluateListPageRouteArgs> {
- ServiceEvaluateListPageRoute({
- Key? key,
- required int id,
- required String cleanServiceType,
- List<PageRouteInfo>? children,
- }) : super(
- ServiceEvaluateListPageRoute.name,
- args: ServiceEvaluateListPageRouteArgs(
- key: key,
- id: id,
- cleanServiceType: cleanServiceType,
- ),
- initialChildren: children,
- );
- static const String name = 'ServiceEvaluateListPageRoute';
- static const PageInfo<ServiceEvaluateListPageRouteArgs> page =
- PageInfo<ServiceEvaluateListPageRouteArgs>(name);
- }
- class ServiceEvaluateListPageRouteArgs {
- const ServiceEvaluateListPageRouteArgs({
- this.key,
- required this.id,
- required this.cleanServiceType,
- });
- final Key? key;
- final int id;
- final String cleanServiceType;
- @override
- String toString() {
- return 'ServiceEvaluateListPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
- }
- }
- /// generated route for
- /// [ServiceOrderConfirmPage]
- class ServiceOrderConfirmPageRoute
- extends PageRouteInfo<ServiceOrderConfirmPageRouteArgs> {
- ServiceOrderConfirmPageRoute({
- Key? key,
- required int id,
- required String cleanServiceType,
- List<PageRouteInfo>? children,
- }) : super(
- ServiceOrderConfirmPageRoute.name,
- args: ServiceOrderConfirmPageRouteArgs(
- key: key,
- id: id,
- cleanServiceType: cleanServiceType,
- ),
- initialChildren: children,
- );
- static const String name = 'ServiceOrderConfirmPageRoute';
- static const PageInfo<ServiceOrderConfirmPageRouteArgs> page =
- PageInfo<ServiceOrderConfirmPageRouteArgs>(name);
- }
- class ServiceOrderConfirmPageRouteArgs {
- const ServiceOrderConfirmPageRouteArgs({
- this.key,
- required this.id,
- required this.cleanServiceType,
- });
- final Key? key;
- final int id;
- final String cleanServiceType;
- @override
- String toString() {
- return 'ServiceOrderConfirmPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
- }
- }
- /// generated route for
- /// [ServicePaySuccessPage]
- class ServicePaySuccessPageRoute extends PageRouteInfo<void> {
- const ServicePaySuccessPageRoute({List<PageRouteInfo>? children})
- : super(
- ServicePaySuccessPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'ServicePaySuccessPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [ServiceRepairDetailPage]
- class ServiceRepairDetailPageRoute
- extends PageRouteInfo<ServiceRepairDetailPageRouteArgs> {
- ServiceRepairDetailPageRoute({
- Key? key,
- required int id,
- required String? cleanServiceType,
- List<PageRouteInfo>? children,
- }) : super(
- ServiceRepairDetailPageRoute.name,
- args: ServiceRepairDetailPageRouteArgs(
- key: key,
- id: id,
- cleanServiceType: cleanServiceType,
- ),
- rawPathParams: {
- 'id': id,
- 'cleanServiceType': cleanServiceType,
- },
- initialChildren: children,
- );
- static const String name = 'ServiceRepairDetailPageRoute';
- static const PageInfo<ServiceRepairDetailPageRouteArgs> page =
- PageInfo<ServiceRepairDetailPageRouteArgs>(name);
- }
- class ServiceRepairDetailPageRouteArgs {
- const ServiceRepairDetailPageRouteArgs({
- this.key,
- required this.id,
- required this.cleanServiceType,
- });
- final Key? key;
- final int id;
- final String? cleanServiceType;
- @override
- String toString() {
- return 'ServiceRepairDetailPageRouteArgs{key: $key, id: $id, cleanServiceType: $cleanServiceType}';
- }
- }
- /// generated route for
- /// [ServicesMainPage]
- class ServicesMainPageRoute extends PageRouteInfo<ServicesMainPageRouteArgs> {
- ServicesMainPageRoute({
- Key? key,
- List<PageRouteInfo>? children,
- }) : super(
- ServicesMainPageRoute.name,
- args: ServicesMainPageRouteArgs(key: key),
- initialChildren: children,
- );
- static const String name = 'ServicesMainPageRoute';
- static const PageInfo<ServicesMainPageRouteArgs> page =
- PageInfo<ServicesMainPageRouteArgs>(name);
- }
- class ServicesMainPageRouteArgs {
- const ServicesMainPageRouteArgs({this.key});
- final Key? key;
- @override
- String toString() {
- return 'ServicesMainPageRouteArgs{key: $key}';
- }
- }
- /// generated route for
- /// [ServicesPage]
- class ServicesPageRoute extends PageRouteInfo<ServicesPageRouteArgs> {
- ServicesPageRoute({
- Key? key,
- required int parentCategoryId,
- List<PageRouteInfo>? children,
- }) : super(
- ServicesPageRoute.name,
- args: ServicesPageRouteArgs(
- key: key,
- parentCategoryId: parentCategoryId,
- ),
- initialChildren: children,
- );
- static const String name = 'ServicesPageRoute';
- static const PageInfo<ServicesPageRouteArgs> page =
- PageInfo<ServicesPageRouteArgs>(name);
- }
- class ServicesPageRouteArgs {
- const ServicesPageRouteArgs({
- this.key,
- required this.parentCategoryId,
- });
- final Key? key;
- final int parentCategoryId;
- @override
- String toString() {
- return 'ServicesPageRouteArgs{key: $key, parentCategoryId: $parentCategoryId}';
- }
- }
|