123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- // **************************************************************************
- // AutoRouterGenerator
- // **************************************************************************
- // ignore_for_file: type=lint
- // coverage:ignore-file
- part of 'community_page_router.dart';
- abstract class _$CommunityPageRouter extends RootStackRouter {
- // ignore: unused_element
- _$CommunityPageRouter({super.navigatorKey});
- @override
- final Map<String, PageFactory> pagesMap = {
- CommunityPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: CommunityPage(),
- );
- },
- FollowingPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const FollowingPage(),
- );
- },
- ForrentPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const ForrentPage(),
- );
- },
- ForsalePageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const ForsalePage(),
- );
- },
- ForyouPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const ForyouPage(),
- );
- },
- GaragesaleDetailPageRoute.name: (routeData) {
- final args = routeData.argsAs<GaragesaleDetailPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: GaragesaleDetailPage(
- key: args.key,
- id: args.id,
- type: args.type,
- ),
- );
- },
- GaragesalePostPageRoute.name: (routeData) {
- final args = routeData.argsAs<GaragesalePostPageRouteArgs>();
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: GaragesalePostPage(
- key: args.key,
- type: args.type,
- sCallback: args.sCallback,
- fCallback: args.fCallback,
- ),
- );
- },
- MyFollowPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const MyFollowPage(),
- );
- },
- MyFollowerPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const MyFollowerPage(),
- );
- },
- MyFollowingPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const MyFollowingPage(),
- );
- },
- MyPostsForRentPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const MyPostsForRentPage(),
- );
- },
- MyPostsForSalePageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const MyPostsForSalePage(),
- );
- },
- MyPostsNewsfeedPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const MyPostsNewsfeedPage(),
- );
- },
- MyPostsPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const MyPostsPage(),
- );
- },
- NewsPageRoute.name: (routeData) {
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: const NewsPage(),
- );
- },
- NewsfeedDetailPageRoute.name: (routeData) {
- final pathParams = routeData.inheritedPathParams;
- final args = routeData.argsAs<NewsfeedDetailPageRouteArgs>(
- orElse: () => NewsfeedDetailPageRouteArgs(
- id: pathParams.optInt('id'),
- type: pathParams.optString('type'),
- ));
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: NewsfeedDetailPage(
- key: args.key,
- id: args.id,
- type: args.type,
- ),
- );
- },
- NewsfeedPostPageRoute.name: (routeData) {
- final args = routeData.argsAs<NewsfeedPostPageRouteArgs>(
- orElse: () => const NewsfeedPostPageRouteArgs());
- return AutoRoutePage<dynamic>(
- routeData: routeData,
- child: NewsfeedPostPage(
- key: args.key,
- sCallback: args.sCallback,
- fCallback: args.fCallback,
- ),
- );
- },
- };
- }
- /// generated route for
- /// [CommunityPage]
- class CommunityPageRoute extends PageRouteInfo<void> {
- const CommunityPageRoute({List<PageRouteInfo>? children})
- : super(
- CommunityPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'CommunityPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [FollowingPage]
- class FollowingPageRoute extends PageRouteInfo<void> {
- const FollowingPageRoute({List<PageRouteInfo>? children})
- : super(
- FollowingPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'FollowingPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [ForrentPage]
- class ForrentPageRoute extends PageRouteInfo<void> {
- const ForrentPageRoute({List<PageRouteInfo>? children})
- : super(
- ForrentPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'ForrentPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [ForsalePage]
- class ForsalePageRoute extends PageRouteInfo<void> {
- const ForsalePageRoute({List<PageRouteInfo>? children})
- : super(
- ForsalePageRoute.name,
- initialChildren: children,
- );
- static const String name = 'ForsalePageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [ForyouPage]
- class ForyouPageRoute extends PageRouteInfo<void> {
- const ForyouPageRoute({List<PageRouteInfo>? children})
- : super(
- ForyouPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'ForyouPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [GaragesaleDetailPage]
- class GaragesaleDetailPageRoute
- extends PageRouteInfo<GaragesaleDetailPageRouteArgs> {
- GaragesaleDetailPageRoute({
- Key? key,
- required int id,
- required String type,
- List<PageRouteInfo>? children,
- }) : super(
- GaragesaleDetailPageRoute.name,
- args: GaragesaleDetailPageRouteArgs(
- key: key,
- id: id,
- type: type,
- ),
- initialChildren: children,
- );
- static const String name = 'GaragesaleDetailPageRoute';
- static const PageInfo<GaragesaleDetailPageRouteArgs> page =
- PageInfo<GaragesaleDetailPageRouteArgs>(name);
- }
- class GaragesaleDetailPageRouteArgs {
- const GaragesaleDetailPageRouteArgs({
- this.key,
- required this.id,
- required this.type,
- });
- final Key? key;
- final int id;
- final String type;
- @override
- String toString() {
- return 'GaragesaleDetailPageRouteArgs{key: $key, id: $id, type: $type}';
- }
- }
- /// generated route for
- /// [GaragesalePostPage]
- class GaragesalePostPageRoute
- extends PageRouteInfo<GaragesalePostPageRouteArgs> {
- GaragesalePostPageRoute({
- Key? key,
- required int type,
- void Function()? sCallback,
- void Function()? fCallback,
- List<PageRouteInfo>? children,
- }) : super(
- GaragesalePostPageRoute.name,
- args: GaragesalePostPageRouteArgs(
- key: key,
- type: type,
- sCallback: sCallback,
- fCallback: fCallback,
- ),
- initialChildren: children,
- );
- static const String name = 'GaragesalePostPageRoute';
- static const PageInfo<GaragesalePostPageRouteArgs> page =
- PageInfo<GaragesalePostPageRouteArgs>(name);
- }
- class GaragesalePostPageRouteArgs {
- const GaragesalePostPageRouteArgs({
- this.key,
- required this.type,
- this.sCallback,
- this.fCallback,
- });
- final Key? key;
- final int type;
- final void Function()? sCallback;
- final void Function()? fCallback;
- @override
- String toString() {
- return 'GaragesalePostPageRouteArgs{key: $key, type: $type, sCallback: $sCallback, fCallback: $fCallback}';
- }
- }
- /// generated route for
- /// [MyFollowPage]
- class MyFollowPageRoute extends PageRouteInfo<void> {
- const MyFollowPageRoute({List<PageRouteInfo>? children})
- : super(
- MyFollowPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'MyFollowPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [MyFollowerPage]
- class MyFollowerPageRoute extends PageRouteInfo<void> {
- const MyFollowerPageRoute({List<PageRouteInfo>? children})
- : super(
- MyFollowerPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'MyFollowerPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [MyFollowingPage]
- class MyFollowingPageRoute extends PageRouteInfo<void> {
- const MyFollowingPageRoute({List<PageRouteInfo>? children})
- : super(
- MyFollowingPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'MyFollowingPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [MyPostsForRentPage]
- class MyPostsForRentPageRoute extends PageRouteInfo<void> {
- const MyPostsForRentPageRoute({List<PageRouteInfo>? children})
- : super(
- MyPostsForRentPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'MyPostsForRentPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [MyPostsForSalePage]
- class MyPostsForSalePageRoute extends PageRouteInfo<void> {
- const MyPostsForSalePageRoute({List<PageRouteInfo>? children})
- : super(
- MyPostsForSalePageRoute.name,
- initialChildren: children,
- );
- static const String name = 'MyPostsForSalePageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [MyPostsNewsfeedPage]
- class MyPostsNewsfeedPageRoute extends PageRouteInfo<void> {
- const MyPostsNewsfeedPageRoute({List<PageRouteInfo>? children})
- : super(
- MyPostsNewsfeedPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'MyPostsNewsfeedPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [MyPostsPage]
- class MyPostsPageRoute extends PageRouteInfo<void> {
- const MyPostsPageRoute({List<PageRouteInfo>? children})
- : super(
- MyPostsPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'MyPostsPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [NewsPage]
- class NewsPageRoute extends PageRouteInfo<void> {
- const NewsPageRoute({List<PageRouteInfo>? children})
- : super(
- NewsPageRoute.name,
- initialChildren: children,
- );
- static const String name = 'NewsPageRoute';
- static const PageInfo<void> page = PageInfo<void>(name);
- }
- /// generated route for
- /// [NewsfeedDetailPage]
- class NewsfeedDetailPageRoute
- extends PageRouteInfo<NewsfeedDetailPageRouteArgs> {
- NewsfeedDetailPageRoute({
- Key? key,
- required int? id,
- required String? type,
- List<PageRouteInfo>? children,
- }) : super(
- NewsfeedDetailPageRoute.name,
- args: NewsfeedDetailPageRouteArgs(
- key: key,
- id: id,
- type: type,
- ),
- rawPathParams: {
- 'id': id,
- 'type': type,
- },
- initialChildren: children,
- );
- static const String name = 'NewsfeedDetailPageRoute';
- static const PageInfo<NewsfeedDetailPageRouteArgs> page =
- PageInfo<NewsfeedDetailPageRouteArgs>(name);
- }
- class NewsfeedDetailPageRouteArgs {
- const NewsfeedDetailPageRouteArgs({
- this.key,
- required this.id,
- required this.type,
- });
- final Key? key;
- final int? id;
- final String? type;
- @override
- String toString() {
- return 'NewsfeedDetailPageRouteArgs{key: $key, id: $id, type: $type}';
- }
- }
- /// generated route for
- /// [NewsfeedPostPage]
- class NewsfeedPostPageRoute extends PageRouteInfo<NewsfeedPostPageRouteArgs> {
- NewsfeedPostPageRoute({
- Key? key,
- void Function()? sCallback,
- void Function()? fCallback,
- List<PageRouteInfo>? children,
- }) : super(
- NewsfeedPostPageRoute.name,
- args: NewsfeedPostPageRouteArgs(
- key: key,
- sCallback: sCallback,
- fCallback: fCallback,
- ),
- initialChildren: children,
- );
- static const String name = 'NewsfeedPostPageRoute';
- static const PageInfo<NewsfeedPostPageRouteArgs> page =
- PageInfo<NewsfeedPostPageRouteArgs>(name);
- }
- class NewsfeedPostPageRouteArgs {
- const NewsfeedPostPageRouteArgs({
- this.key,
- this.sCallback,
- this.fCallback,
- });
- final Key? key;
- final void Function()? sCallback;
- final void Function()? fCallback;
- @override
- String toString() {
- return 'NewsfeedPostPageRouteArgs{key: $key, sCallback: $sCallback, fCallback: $fCallback}';
- }
- }
|