// GENERATED CODE - DO NOT MODIFY BY HAND // ************************************************************************** // AutoRouterGenerator // ************************************************************************** // ignore_for_file: type=lint // coverage:ignore-file part of 'basic_page_router.dart'; abstract class _$BasicPageRouter extends RootStackRouter { // ignore: unused_element _$BasicPageRouter({super.navigatorKey}); @override final Map pagesMap = { GlobalWebPageRoute.name: (routeData) { final pathParams = routeData.inheritedPathParams; final args = routeData.argsAs( orElse: () => GlobalWebPageRouteArgs( isShowAppBar: pathParams.getBool('isShowAppBar'), initialUrl: pathParams.getString('initialUrl'), title: pathParams.getString('title'), )); return AutoRoutePage( routeData: routeData, child: GlobalWebPage( key: args.key, isShowAppBar: args.isShowAppBar, initialUrl: args.initialUrl, title: args.title, ), ); }, PreviewPhotoPageRoute.name: (routeData) { final args = routeData.argsAs(); return AutoRoutePage( routeData: routeData, child: PreviewPhotoPage( key: args.key, images: args.images, position: args.position, ), ); }, }; } /// generated route for /// [GlobalWebPage] class GlobalWebPageRoute extends PageRouteInfo { GlobalWebPageRoute({ Key? key, required bool isShowAppBar, required String initialUrl, required String title, List? children, }) : super( GlobalWebPageRoute.name, args: GlobalWebPageRouteArgs( key: key, isShowAppBar: isShowAppBar, initialUrl: initialUrl, title: title, ), rawPathParams: { 'isShowAppBar': isShowAppBar, 'initialUrl': initialUrl, 'title': title, }, initialChildren: children, ); static const String name = 'GlobalWebPageRoute'; static const PageInfo page = PageInfo(name); } class GlobalWebPageRouteArgs { const GlobalWebPageRouteArgs({ this.key, required this.isShowAppBar, required this.initialUrl, required this.title, }); final Key? key; final bool isShowAppBar; final String initialUrl; final String title; @override String toString() { return 'GlobalWebPageRouteArgs{key: $key, isShowAppBar: $isShowAppBar, initialUrl: $initialUrl, title: $title}'; } } /// generated route for /// [PreviewPhotoPage] class PreviewPhotoPageRoute extends PageRouteInfo { PreviewPhotoPageRoute({ Key? key, required List images, required int position, List? children, }) : super( PreviewPhotoPageRoute.name, args: PreviewPhotoPageRouteArgs( key: key, images: images, position: position, ), initialChildren: children, ); static const String name = 'PreviewPhotoPageRoute'; static const PageInfo page = PageInfo(name); } class PreviewPhotoPageRouteArgs { const PreviewPhotoPageRouteArgs({ this.key, required this.images, required this.position, }); final Key? key; final List images; final int position; @override String toString() { return 'PreviewPhotoPageRouteArgs{key: $key, images: $images, position: $position}'; } }