pagesMap property
The map holding the page names and their factories.
Implementation
@override
final Map<String, _i25.PageFactory> pagesMap = {
BeneficiaryAcknowledgementRoute.name: (routeData) {
final args = routeData.argsAs<BeneficiaryAcknowledgementRouteArgs>(
orElse: () => const BeneficiaryAcknowledgementRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i1.BeneficiaryAcknowledgementPage(
key: args.key,
appLocalizations: args.appLocalizations,
enableViewHousehold: args.enableViewHousehold,
),
);
},
BeneficiaryChecklistRoute.name: (routeData) {
final args = routeData.argsAs<BeneficiaryChecklistRouteArgs>(
orElse: () => const BeneficiaryChecklistRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i2.BeneficiaryChecklistPage(
key: args.key,
beneficiaryClientRefId: args.beneficiaryClientRefId,
appLocalizations: args.appLocalizations,
),
);
},
BeneficiaryDetailsRoute.name: (routeData) {
final args = routeData.argsAs<BeneficiaryDetailsRouteArgs>(
orElse: () => const BeneficiaryDetailsRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i3.BeneficiaryDetailsPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
BeneficiaryRegistrationWrapperRoute.name: (routeData) {
final args = routeData.argsAs<BeneficiaryRegistrationWrapperRouteArgs>();
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i25.WrappedRoute(
child: _i4.BeneficiaryRegistrationWrapperPage(
key: args.key,
initialState: args.initialState,
)),
);
},
BeneficiaryWrapperRoute.name: (routeData) {
final args = routeData.argsAs<BeneficiaryWrapperRouteArgs>();
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i5.BeneficiaryWrapperPage(
key: args.key,
wrapper: args.wrapper,
isEditing: args.isEditing,
),
);
},
DeliverInterventionRoute.name: (routeData) {
final args = routeData.argsAs<DeliverInterventionRouteArgs>(
orElse: () => const DeliverInterventionRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i6.DeliverInterventionPage(
key: args.key,
appLocalizations: args.appLocalizations,
isEditing: args.isEditing,
),
);
},
DeliverySummaryRoute.name: (routeData) {
final args = routeData.argsAs<DeliverySummaryRouteArgs>(
orElse: () => const DeliverySummaryRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i7.DeliverySummaryPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
DoseAdministeredRoute.name: (routeData) {
final args = routeData.argsAs<DoseAdministeredRouteArgs>(
orElse: () => const DoseAdministeredRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i8.DoseAdministeredPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
FacilitySelectionRoute.name: (routeData) {
final args = routeData.argsAs<FacilitySelectionRouteArgs>();
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i9.FacilitySelectionPage(
key: args.key,
facilities: args.facilities,
),
);
},
HouseDetailsRoute.name: (routeData) {
final args = routeData.argsAs<HouseDetailsRouteArgs>(
orElse: () => const HouseDetailsRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i10.HouseDetailsPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
HouseHoldDetailsRoute.name: (routeData) {
final args = routeData.argsAs<HouseHoldDetailsRouteArgs>(
orElse: () => const HouseHoldDetailsRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i11.HouseHoldDetailsPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
HouseholdAcknowledgementRoute.name: (routeData) {
final args = routeData.argsAs<HouseholdAcknowledgementRouteArgs>(
orElse: () => const HouseholdAcknowledgementRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i12.HouseholdAcknowledgementPage(
key: args.key,
appLocalizations: args.appLocalizations,
enableViewHousehold: args.enableViewHousehold,
),
);
},
HouseholdLocationRoute.name: (routeData) {
final args = routeData.argsAs<HouseholdLocationRouteArgs>(
orElse: () => const HouseholdLocationRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i13.HouseholdLocationPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
HouseholdOverviewRoute.name: (routeData) {
final args = routeData.argsAs<HouseholdOverviewRouteArgs>(
orElse: () => const HouseholdOverviewRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i14.HouseholdOverviewPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
IndividualDetailsRoute.name: (routeData) {
final args = routeData.argsAs<IndividualDetailsRouteArgs>(
orElse: () => const IndividualDetailsRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i15.IndividualDetailsPage(
key: args.key,
appLocalizations: args.appLocalizations,
isHeadOfHousehold: args.isHeadOfHousehold,
),
);
},
ReasonForDeletionRoute.name: (routeData) {
final args = routeData.argsAs<ReasonForDeletionRouteArgs>(
orElse: () => const ReasonForDeletionRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i16.ReasonForDeletionPage(
key: args.key,
appLocalizations: args.appLocalizations,
isHousholdDelete: args.isHousholdDelete,
),
);
},
RecordPastDeliveryDetailsRoute.name: (routeData) {
final args = routeData.argsAs<RecordPastDeliveryDetailsRouteArgs>(
orElse: () => const RecordPastDeliveryDetailsRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i17.RecordPastDeliveryDetailsPage(
key: args.key,
appLocalizations: args.appLocalizations,
tasks: args.tasks,
),
);
},
ReferBeneficiaryRoute.name: (routeData) {
final args = routeData.argsAs<ReferBeneficiaryRouteArgs>();
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i18.ReferBeneficiaryPage(
key: args.key,
appLocalizations: args.appLocalizations,
isEditing: args.isEditing,
projectBeneficiaryClientRefId: args.projectBeneficiaryClientRefId,
),
);
},
RefusedDeliveryRoute.name: (routeData) {
final args = routeData.argsAs<RefusedDeliveryRouteArgs>(
orElse: () => const RefusedDeliveryRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i19.RefusedDeliveryPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
RegistrationDeliveryWrapperRoute.name: (routeData) {
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: const _i20.RegistrationDeliveryWrapperPage(),
);
},
SearchBeneficiaryRoute.name: (routeData) {
final args = routeData.argsAs<SearchBeneficiaryRouteArgs>(
orElse: () => const SearchBeneficiaryRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i21.SearchBeneficiaryPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
SideEffectsRoute.name: (routeData) {
final args = routeData.argsAs<SideEffectsRouteArgs>();
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i22.SideEffectsPage(
key: args.key,
appLocalizations: args.appLocalizations,
tasks: args.tasks,
isEditing: args.isEditing,
),
);
},
SplashAcknowledgementRoute.name: (routeData) {
final args = routeData.argsAs<SplashAcknowledgementRouteArgs>(
orElse: () => const SplashAcknowledgementRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i23.SplashAcknowledgementPage(
key: args.key,
appLocalizations: args.appLocalizations,
enableBackToSearch: args.enableBackToSearch,
),
);
},
SummaryRoute.name: (routeData) {
final args = routeData.argsAs<SummaryRouteArgs>(
orElse: () => const SummaryRouteArgs());
return _i25.AutoRoutePage<dynamic>(
routeData: routeData,
child: _i24.SummaryPage(
key: args.key,
appLocalizations: args.appLocalizations,
),
);
},
};