2022-02-03 18:06:44 +02:00
|
|
|
// **************************************************************************
|
|
|
|
// AutoRouteGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// AutoRouteGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
//
|
|
|
|
// ignore_for_file: type=lint
|
|
|
|
|
|
|
|
part of 'router.dart';
|
|
|
|
|
|
|
|
class _$AppRouter extends RootStackRouter {
|
2023-02-24 18:51:35 +02:00
|
|
|
_$AppRouter({
|
|
|
|
GlobalKey<NavigatorState>? navigatorKey,
|
|
|
|
required this.authGuard,
|
2023-02-28 18:22:18 +02:00
|
|
|
required this.duplicateGuard,
|
|
|
|
required this.galleryPermissionGuard,
|
2023-02-24 18:51:35 +02:00
|
|
|
}) : super(navigatorKey);
|
|
|
|
|
2023-02-28 18:22:18 +02:00
|
|
|
final AuthGuard authGuard;
|
|
|
|
|
2023-02-24 18:51:35 +02:00
|
|
|
final DuplicateGuard duplicateGuard;
|
2022-02-03 18:06:44 +02:00
|
|
|
|
2023-02-28 18:22:18 +02:00
|
|
|
final GalleryPermissionGuard galleryPermissionGuard;
|
2022-02-03 18:06:44 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
final Map<String, PageFactory> pagesMap = {
|
2022-06-21 01:10:23 +02:00
|
|
|
SplashScreenRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const SplashScreenPage(),
|
|
|
|
);
|
2022-06-21 01:10:23 +02:00
|
|
|
},
|
2023-02-28 18:22:18 +02:00
|
|
|
PermissionOnboardingRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const PermissionOnboardingPage(),
|
|
|
|
);
|
|
|
|
},
|
2022-02-03 18:06:44 +02:00
|
|
|
LoginRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const LoginPage(),
|
|
|
|
);
|
2022-02-03 18:06:44 +02:00
|
|
|
},
|
2022-06-27 22:13:07 +02:00
|
|
|
ChangePasswordRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const ChangePasswordPage(),
|
|
|
|
);
|
2022-06-27 22:13:07 +02:00
|
|
|
},
|
2022-02-27 20:43:29 +02:00
|
|
|
TabControllerRoute.name: (routeData) {
|
2022-06-21 01:10:23 +02:00
|
|
|
return CustomPage<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const TabControllerPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.fadeIn,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false,
|
|
|
|
);
|
2022-02-03 18:06:44 +02:00
|
|
|
},
|
2022-08-03 22:36:12 +02:00
|
|
|
GalleryViewerRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<GalleryViewerRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: GalleryViewerPage(
|
|
|
|
key: args.key,
|
|
|
|
assetList: args.assetList,
|
|
|
|
asset: args.asset,
|
|
|
|
),
|
|
|
|
);
|
2022-08-03 22:36:12 +02:00
|
|
|
},
|
2022-02-06 08:07:56 +02:00
|
|
|
VideoViewerRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<VideoViewerRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: VideoViewerPage(
|
|
|
|
key: args.key,
|
|
|
|
asset: args.asset,
|
|
|
|
isMotionVideo: args.isMotionVideo,
|
|
|
|
onVideoEnded: args.onVideoEnded,
|
|
|
|
onPlaying: args.onPlaying,
|
|
|
|
onPaused: args.onPaused,
|
|
|
|
),
|
|
|
|
);
|
2022-02-27 20:43:29 +02:00
|
|
|
},
|
|
|
|
BackupControllerRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const BackupControllerPage(),
|
|
|
|
);
|
2022-02-27 20:43:29 +02:00
|
|
|
},
|
2022-03-03 00:44:24 +02:00
|
|
|
SearchResultRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<SearchResultRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: SearchResultPage(
|
|
|
|
key: args.key,
|
|
|
|
searchTerm: args.searchTerm,
|
|
|
|
),
|
|
|
|
);
|
2022-03-03 00:44:24 +02:00
|
|
|
},
|
2023-03-23 17:08:14 +02:00
|
|
|
CuratedLocationRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const CuratedLocationPage(),
|
|
|
|
);
|
|
|
|
},
|
|
|
|
CuratedObjectRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const CuratedObjectPage(),
|
|
|
|
);
|
|
|
|
},
|
2022-08-03 07:04:34 +02:00
|
|
|
CreateAlbumRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<CreateAlbumRouteArgs>();
|
2022-04-24 04:08:45 +02:00
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: CreateAlbumPage(
|
|
|
|
key: args.key,
|
|
|
|
isSharedAlbum: args.isSharedAlbum,
|
|
|
|
initialAssets: args.initialAssets,
|
|
|
|
),
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
},
|
2023-02-05 05:25:11 +02:00
|
|
|
FavoritesRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const FavoritesPage(),
|
|
|
|
);
|
2023-02-05 05:25:11 +02:00
|
|
|
},
|
2023-03-25 05:44:53 +02:00
|
|
|
AllVideosRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const AllVideosPage(),
|
|
|
|
);
|
|
|
|
},
|
|
|
|
AllMotionPhotosRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const AllMotionPhotosPage(),
|
|
|
|
);
|
|
|
|
},
|
|
|
|
RecentlyAddedRoute.name: (routeData) {
|
2023-03-28 17:34:06 +02:00
|
|
|
return MaterialPageX<dynamic>(
|
2023-03-25 05:44:53 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const RecentlyAddedPage(),
|
|
|
|
);
|
|
|
|
},
|
2022-04-24 04:08:45 +02:00
|
|
|
AssetSelectionRoute.name: (routeData) {
|
|
|
|
return CustomPage<AssetSelectionPageResult?>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const AssetSelectionPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false,
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
},
|
|
|
|
SelectUserForSharingRoute.name: (routeData) {
|
|
|
|
return CustomPage<List<String>>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const SelectUserForSharingPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false,
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
},
|
|
|
|
AlbumViewerRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<AlbumViewerRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: AlbumViewerPage(
|
|
|
|
key: args.key,
|
|
|
|
albumId: args.albumId,
|
|
|
|
),
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
},
|
|
|
|
SelectAdditionalUserForSharingRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<SelectAdditionalUserForSharingRouteArgs>();
|
|
|
|
return CustomPage<List<String>?>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: SelectAdditionalUserForSharingPage(
|
|
|
|
key: args.key,
|
|
|
|
album: args.album,
|
|
|
|
),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false,
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
},
|
2022-05-06 14:22:23 +02:00
|
|
|
BackupAlbumSelectionRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const BackupAlbumSelectionPage(),
|
|
|
|
);
|
2022-05-06 14:22:23 +02:00
|
|
|
},
|
|
|
|
AlbumPreviewRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<AlbumPreviewRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: AlbumPreviewPage(
|
|
|
|
key: args.key,
|
|
|
|
album: args.album,
|
|
|
|
),
|
|
|
|
);
|
2022-05-06 14:22:23 +02:00
|
|
|
},
|
2022-07-06 23:12:55 +02:00
|
|
|
FailedBackupStatusRoute.name: (routeData) {
|
|
|
|
return CustomPage<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const FailedBackupStatusPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false,
|
|
|
|
);
|
2022-07-06 23:12:55 +02:00
|
|
|
},
|
2022-08-13 22:51:09 +02:00
|
|
|
SettingsRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const SettingsPage(),
|
|
|
|
);
|
2022-08-13 22:51:09 +02:00
|
|
|
},
|
2022-11-27 22:34:19 +02:00
|
|
|
AppLogRoute.name: (routeData) {
|
|
|
|
return CustomPage<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const AppLogPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false,
|
|
|
|
);
|
2022-11-27 22:34:19 +02:00
|
|
|
},
|
2023-04-03 23:43:46 +02:00
|
|
|
AppLogDetailRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<AppLogDetailRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: AppLogDetailPage(
|
|
|
|
key: args.key,
|
|
|
|
logMessage: args.logMessage,
|
|
|
|
),
|
|
|
|
);
|
|
|
|
},
|
2023-04-17 07:02:07 +02:00
|
|
|
ArchiveRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const ArchivePage(),
|
|
|
|
);
|
|
|
|
},
|
2022-02-27 20:43:29 +02:00
|
|
|
HomeRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const HomePage(),
|
|
|
|
);
|
2022-02-27 20:43:29 +02:00
|
|
|
},
|
|
|
|
SearchRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<SearchRouteArgs>(
|
|
|
|
orElse: () => const SearchRouteArgs());
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: SearchPage(key: args.key),
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
},
|
|
|
|
SharingRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const SharingPage(),
|
|
|
|
);
|
2022-08-03 07:04:34 +02:00
|
|
|
},
|
|
|
|
LibraryRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
2023-02-24 18:51:35 +02:00
|
|
|
routeData: routeData,
|
|
|
|
child: const LibraryPage(),
|
|
|
|
);
|
|
|
|
},
|
2022-02-03 18:06:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<RouteConfig> get routes => [
|
2023-02-24 18:51:35 +02:00
|
|
|
RouteConfig(
|
|
|
|
SplashScreenRoute.name,
|
|
|
|
path: '/',
|
|
|
|
),
|
2023-02-28 18:22:18 +02:00
|
|
|
RouteConfig(
|
|
|
|
PermissionOnboardingRoute.name,
|
|
|
|
path: '/permission-onboarding-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
2023-02-24 18:51:35 +02:00
|
|
|
RouteConfig(
|
|
|
|
LoginRoute.name,
|
|
|
|
path: '/login-page',
|
|
|
|
guards: [duplicateGuard],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
ChangePasswordRoute.name,
|
|
|
|
path: '/change-password-page',
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
TabControllerRoute.name,
|
|
|
|
path: '/tab-controller-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
2023-02-28 18:22:18 +02:00
|
|
|
galleryPermissionGuard,
|
2023-02-24 18:51:35 +02:00
|
|
|
],
|
|
|
|
children: [
|
|
|
|
RouteConfig(
|
|
|
|
HomeRoute.name,
|
|
|
|
path: 'home-page',
|
|
|
|
parent: TabControllerRoute.name,
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
SearchRoute.name,
|
|
|
|
path: 'search-page',
|
|
|
|
parent: TabControllerRoute.name,
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
SharingRoute.name,
|
|
|
|
path: 'sharing-page',
|
|
|
|
parent: TabControllerRoute.name,
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
LibraryRoute.name,
|
|
|
|
path: 'library-page',
|
|
|
|
parent: TabControllerRoute.name,
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
GalleryViewerRoute.name,
|
|
|
|
path: '/gallery-viewer-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
2023-02-28 18:22:18 +02:00
|
|
|
galleryPermissionGuard,
|
2023-02-24 18:51:35 +02:00
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
VideoViewerRoute.name,
|
|
|
|
path: '/video-viewer-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
BackupControllerRoute.name,
|
|
|
|
path: '/backup-controller-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
SearchResultRoute.name,
|
|
|
|
path: '/search-result-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
2023-03-23 17:08:14 +02:00
|
|
|
RouteConfig(
|
|
|
|
CuratedLocationRoute.name,
|
|
|
|
path: '/curated-location-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
CuratedObjectRoute.name,
|
|
|
|
path: '/curated-object-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
2023-02-24 18:51:35 +02:00
|
|
|
RouteConfig(
|
|
|
|
CreateAlbumRoute.name,
|
|
|
|
path: '/create-album-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
FavoritesRoute.name,
|
|
|
|
path: '/favorites-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
2023-03-25 05:44:53 +02:00
|
|
|
RouteConfig(
|
|
|
|
AllVideosRoute.name,
|
|
|
|
path: '/all-videos-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
AllMotionPhotosRoute.name,
|
|
|
|
path: '/all-motion-photos-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
RecentlyAddedRoute.name,
|
|
|
|
path: '/recently-added-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
2023-02-24 18:51:35 +02:00
|
|
|
RouteConfig(
|
|
|
|
AssetSelectionRoute.name,
|
|
|
|
path: '/asset-selection-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
SelectUserForSharingRoute.name,
|
|
|
|
path: '/select-user-for-sharing-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
AlbumViewerRoute.name,
|
|
|
|
path: '/album-viewer-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
SelectAdditionalUserForSharingRoute.name,
|
|
|
|
path: '/select-additional-user-for-sharing-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
BackupAlbumSelectionRoute.name,
|
|
|
|
path: '/backup-album-selection-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
AlbumPreviewRoute.name,
|
|
|
|
path: '/album-preview-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
FailedBackupStatusRoute.name,
|
|
|
|
path: '/failed-backup-status-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
SettingsRoute.name,
|
|
|
|
path: '/settings-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
RouteConfig(
|
|
|
|
AppLogRoute.name,
|
|
|
|
path: '/app-log-page',
|
|
|
|
),
|
2023-04-03 23:43:46 +02:00
|
|
|
RouteConfig(
|
|
|
|
AppLogDetailRoute.name,
|
|
|
|
path: '/app-log-detail-page',
|
|
|
|
),
|
2023-04-17 07:02:07 +02:00
|
|
|
RouteConfig(
|
|
|
|
ArchiveRoute.name,
|
|
|
|
path: '/archive-page',
|
|
|
|
guards: [
|
|
|
|
authGuard,
|
|
|
|
duplicateGuard,
|
|
|
|
],
|
|
|
|
),
|
2022-02-03 18:06:44 +02:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
2022-06-21 01:10:23 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [SplashScreenPage]
|
|
|
|
class SplashScreenRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const SplashScreenRoute()
|
|
|
|
: super(
|
|
|
|
SplashScreenRoute.name,
|
|
|
|
path: '/',
|
|
|
|
);
|
2022-06-21 01:10:23 +02:00
|
|
|
|
|
|
|
static const String name = 'SplashScreenRoute';
|
|
|
|
}
|
|
|
|
|
2023-02-28 18:22:18 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [PermissionOnboardingPage]
|
|
|
|
class PermissionOnboardingRoute extends PageRouteInfo<void> {
|
|
|
|
const PermissionOnboardingRoute()
|
|
|
|
: super(
|
|
|
|
PermissionOnboardingRoute.name,
|
|
|
|
path: '/permission-onboarding-page',
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'PermissionOnboardingRoute';
|
|
|
|
}
|
|
|
|
|
2022-02-03 18:06:44 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [LoginPage]
|
|
|
|
class LoginRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const LoginRoute()
|
|
|
|
: super(
|
|
|
|
LoginRoute.name,
|
|
|
|
path: '/login-page',
|
|
|
|
);
|
2022-02-03 18:06:44 +02:00
|
|
|
|
|
|
|
static const String name = 'LoginRoute';
|
|
|
|
}
|
|
|
|
|
2022-06-27 22:13:07 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [ChangePasswordPage]
|
|
|
|
class ChangePasswordRoute extends PageRouteInfo<void> {
|
|
|
|
const ChangePasswordRoute()
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
ChangePasswordRoute.name,
|
|
|
|
path: '/change-password-page',
|
|
|
|
);
|
2022-06-27 22:13:07 +02:00
|
|
|
|
|
|
|
static const String name = 'ChangePasswordRoute';
|
|
|
|
}
|
|
|
|
|
2022-02-03 18:06:44 +02:00
|
|
|
/// generated route for
|
2022-02-27 20:43:29 +02:00
|
|
|
/// [TabControllerPage]
|
|
|
|
class TabControllerRoute extends PageRouteInfo<void> {
|
|
|
|
const TabControllerRoute({List<PageRouteInfo>? children})
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
TabControllerRoute.name,
|
|
|
|
path: '/tab-controller-page',
|
|
|
|
initialChildren: children,
|
|
|
|
);
|
2022-02-03 18:06:44 +02:00
|
|
|
|
2022-02-27 20:43:29 +02:00
|
|
|
static const String name = 'TabControllerRoute';
|
2022-02-03 18:06:44 +02:00
|
|
|
}
|
|
|
|
|
2022-08-03 22:36:12 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [GalleryViewerPage]
|
|
|
|
class GalleryViewerRoute extends PageRouteInfo<GalleryViewerRouteArgs> {
|
2023-02-24 18:51:35 +02:00
|
|
|
GalleryViewerRoute({
|
|
|
|
Key? key,
|
|
|
|
required List<Asset> assetList,
|
|
|
|
required Asset asset,
|
|
|
|
}) : super(
|
|
|
|
GalleryViewerRoute.name,
|
|
|
|
path: '/gallery-viewer-page',
|
|
|
|
args: GalleryViewerRouteArgs(
|
|
|
|
key: key,
|
|
|
|
assetList: assetList,
|
|
|
|
asset: asset,
|
|
|
|
),
|
|
|
|
);
|
2022-08-03 22:36:12 +02:00
|
|
|
|
|
|
|
static const String name = 'GalleryViewerRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class GalleryViewerRouteArgs {
|
2023-02-24 18:51:35 +02:00
|
|
|
const GalleryViewerRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.assetList,
|
|
|
|
required this.asset,
|
|
|
|
});
|
2022-08-03 22:36:12 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
2022-11-08 19:00:24 +02:00
|
|
|
final List<Asset> assetList;
|
2022-08-03 22:36:12 +02:00
|
|
|
|
2022-11-08 19:00:24 +02:00
|
|
|
final Asset asset;
|
2022-08-03 22:36:12 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
2022-08-08 02:43:09 +02:00
|
|
|
return 'GalleryViewerRouteArgs{key: $key, assetList: $assetList, asset: $asset}';
|
2022-08-03 22:36:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-06 08:07:56 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [VideoViewerPage]
|
|
|
|
class VideoViewerRoute extends PageRouteInfo<VideoViewerRouteArgs> {
|
2023-02-24 18:51:35 +02:00
|
|
|
VideoViewerRoute({
|
|
|
|
Key? key,
|
|
|
|
required Asset asset,
|
|
|
|
required bool isMotionVideo,
|
|
|
|
required void Function() onVideoEnded,
|
|
|
|
void Function()? onPlaying,
|
|
|
|
void Function()? onPaused,
|
|
|
|
}) : super(
|
|
|
|
VideoViewerRoute.name,
|
|
|
|
path: '/video-viewer-page',
|
|
|
|
args: VideoViewerRouteArgs(
|
|
|
|
key: key,
|
|
|
|
asset: asset,
|
|
|
|
isMotionVideo: isMotionVideo,
|
|
|
|
onVideoEnded: onVideoEnded,
|
|
|
|
onPlaying: onPlaying,
|
|
|
|
onPaused: onPaused,
|
|
|
|
),
|
|
|
|
);
|
2022-02-06 08:07:56 +02:00
|
|
|
|
|
|
|
static const String name = 'VideoViewerRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class VideoViewerRouteArgs {
|
2023-02-24 18:51:35 +02:00
|
|
|
const VideoViewerRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.asset,
|
|
|
|
required this.isMotionVideo,
|
|
|
|
required this.onVideoEnded,
|
|
|
|
this.onPlaying,
|
|
|
|
this.onPaused,
|
|
|
|
});
|
2022-02-06 08:07:56 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
2022-11-08 19:00:24 +02:00
|
|
|
final Asset asset;
|
2022-04-02 19:31:53 +02:00
|
|
|
|
2022-11-19 07:12:54 +02:00
|
|
|
final bool isMotionVideo;
|
|
|
|
|
|
|
|
final void Function() onVideoEnded;
|
|
|
|
|
2023-02-24 18:51:35 +02:00
|
|
|
final void Function()? onPlaying;
|
|
|
|
|
|
|
|
final void Function()? onPaused;
|
|
|
|
|
2022-02-06 08:07:56 +02:00
|
|
|
@override
|
|
|
|
String toString() {
|
2023-02-24 18:51:35 +02:00
|
|
|
return 'VideoViewerRouteArgs{key: $key, asset: $asset, isMotionVideo: $isMotionVideo, onVideoEnded: $onVideoEnded, onPlaying: $onPlaying, onPaused: $onPaused}';
|
2022-02-06 08:07:56 +02:00
|
|
|
}
|
|
|
|
}
|
2022-02-27 20:43:29 +02:00
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [BackupControllerPage]
|
|
|
|
class BackupControllerRoute extends PageRouteInfo<void> {
|
|
|
|
const BackupControllerRoute()
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
BackupControllerRoute.name,
|
|
|
|
path: '/backup-controller-page',
|
|
|
|
);
|
2022-02-27 20:43:29 +02:00
|
|
|
|
|
|
|
static const String name = 'BackupControllerRoute';
|
|
|
|
}
|
|
|
|
|
2022-03-03 00:44:24 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [SearchResultPage]
|
|
|
|
class SearchResultRoute extends PageRouteInfo<SearchResultRouteArgs> {
|
2023-02-24 18:51:35 +02:00
|
|
|
SearchResultRoute({
|
|
|
|
Key? key,
|
|
|
|
required String searchTerm,
|
|
|
|
}) : super(
|
|
|
|
SearchResultRoute.name,
|
|
|
|
path: '/search-result-page',
|
|
|
|
args: SearchResultRouteArgs(
|
|
|
|
key: key,
|
|
|
|
searchTerm: searchTerm,
|
|
|
|
),
|
|
|
|
);
|
2022-03-03 00:44:24 +02:00
|
|
|
|
|
|
|
static const String name = 'SearchResultRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class SearchResultRouteArgs {
|
2023-02-24 18:51:35 +02:00
|
|
|
const SearchResultRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.searchTerm,
|
|
|
|
});
|
2022-03-03 00:44:24 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final String searchTerm;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'SearchResultRouteArgs{key: $key, searchTerm: $searchTerm}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-23 17:08:14 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [CuratedLocationPage]
|
|
|
|
class CuratedLocationRoute extends PageRouteInfo<void> {
|
|
|
|
const CuratedLocationRoute()
|
|
|
|
: super(
|
|
|
|
CuratedLocationRoute.name,
|
|
|
|
path: '/curated-location-page',
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'CuratedLocationRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [CuratedObjectPage]
|
|
|
|
class CuratedObjectRoute extends PageRouteInfo<void> {
|
|
|
|
const CuratedObjectRoute()
|
|
|
|
: super(
|
|
|
|
CuratedObjectRoute.name,
|
|
|
|
path: '/curated-object-page',
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'CuratedObjectRoute';
|
|
|
|
}
|
|
|
|
|
2022-04-24 04:08:45 +02:00
|
|
|
/// generated route for
|
2022-08-03 07:04:34 +02:00
|
|
|
/// [CreateAlbumPage]
|
|
|
|
class CreateAlbumRoute extends PageRouteInfo<CreateAlbumRouteArgs> {
|
2023-02-24 18:51:35 +02:00
|
|
|
CreateAlbumRoute({
|
|
|
|
Key? key,
|
|
|
|
required bool isSharedAlbum,
|
|
|
|
List<Asset>? initialAssets,
|
|
|
|
}) : super(
|
|
|
|
CreateAlbumRoute.name,
|
|
|
|
path: '/create-album-page',
|
|
|
|
args: CreateAlbumRouteArgs(
|
|
|
|
key: key,
|
|
|
|
isSharedAlbum: isSharedAlbum,
|
|
|
|
initialAssets: initialAssets,
|
|
|
|
),
|
|
|
|
);
|
2022-08-03 07:04:34 +02:00
|
|
|
|
|
|
|
static const String name = 'CreateAlbumRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class CreateAlbumRouteArgs {
|
2023-02-24 18:51:35 +02:00
|
|
|
const CreateAlbumRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.isSharedAlbum,
|
|
|
|
this.initialAssets,
|
|
|
|
});
|
2022-08-03 07:04:34 +02:00
|
|
|
|
|
|
|
final Key? key;
|
2022-04-24 04:08:45 +02:00
|
|
|
|
2022-08-03 07:04:34 +02:00
|
|
|
final bool isSharedAlbum;
|
|
|
|
|
2023-01-27 07:16:28 +02:00
|
|
|
final List<Asset>? initialAssets;
|
|
|
|
|
2022-08-03 07:04:34 +02:00
|
|
|
@override
|
|
|
|
String toString() {
|
2023-01-27 07:16:28 +02:00
|
|
|
return 'CreateAlbumRouteArgs{key: $key, isSharedAlbum: $isSharedAlbum, initialAssets: $initialAssets}';
|
2022-08-03 07:04:34 +02:00
|
|
|
}
|
2022-04-24 04:08:45 +02:00
|
|
|
}
|
|
|
|
|
2023-02-05 05:25:11 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [FavoritesPage]
|
|
|
|
class FavoritesRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const FavoritesRoute()
|
|
|
|
: super(
|
|
|
|
FavoritesRoute.name,
|
|
|
|
path: '/favorites-page',
|
|
|
|
);
|
2023-02-05 05:25:11 +02:00
|
|
|
|
|
|
|
static const String name = 'FavoritesRoute';
|
|
|
|
}
|
|
|
|
|
2023-03-25 05:44:53 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [AllVideosPage]
|
|
|
|
class AllVideosRoute extends PageRouteInfo<void> {
|
|
|
|
const AllVideosRoute()
|
|
|
|
: super(
|
|
|
|
AllVideosRoute.name,
|
|
|
|
path: '/all-videos-page',
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'AllVideosRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [AllMotionPhotosPage]
|
|
|
|
class AllMotionPhotosRoute extends PageRouteInfo<void> {
|
|
|
|
const AllMotionPhotosRoute()
|
|
|
|
: super(
|
|
|
|
AllMotionPhotosRoute.name,
|
|
|
|
path: '/all-motion-photos-page',
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'AllMotionPhotosRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [RecentlyAddedPage]
|
|
|
|
class RecentlyAddedRoute extends PageRouteInfo<void> {
|
|
|
|
const RecentlyAddedRoute()
|
|
|
|
: super(
|
|
|
|
RecentlyAddedRoute.name,
|
|
|
|
path: '/recently-added-page',
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'RecentlyAddedRoute';
|
|
|
|
}
|
|
|
|
|
2022-04-24 04:08:45 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [AssetSelectionPage]
|
|
|
|
class AssetSelectionRoute extends PageRouteInfo<void> {
|
|
|
|
const AssetSelectionRoute()
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
AssetSelectionRoute.name,
|
|
|
|
path: '/asset-selection-page',
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
static const String name = 'AssetSelectionRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [SelectUserForSharingPage]
|
|
|
|
class SelectUserForSharingRoute extends PageRouteInfo<void> {
|
|
|
|
const SelectUserForSharingRoute()
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
SelectUserForSharingRoute.name,
|
|
|
|
path: '/select-user-for-sharing-page',
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
static const String name = 'SelectUserForSharingRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [AlbumViewerPage]
|
|
|
|
class AlbumViewerRoute extends PageRouteInfo<AlbumViewerRouteArgs> {
|
2023-02-24 18:51:35 +02:00
|
|
|
AlbumViewerRoute({
|
|
|
|
Key? key,
|
2023-03-04 00:38:30 +02:00
|
|
|
required int albumId,
|
2023-02-24 18:51:35 +02:00
|
|
|
}) : super(
|
|
|
|
AlbumViewerRoute.name,
|
|
|
|
path: '/album-viewer-page',
|
|
|
|
args: AlbumViewerRouteArgs(
|
|
|
|
key: key,
|
|
|
|
albumId: albumId,
|
|
|
|
),
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
static const String name = 'AlbumViewerRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class AlbumViewerRouteArgs {
|
2023-02-24 18:51:35 +02:00
|
|
|
const AlbumViewerRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.albumId,
|
|
|
|
});
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
2023-03-04 00:38:30 +02:00
|
|
|
final int albumId;
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'AlbumViewerRouteArgs{key: $key, albumId: $albumId}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [SelectAdditionalUserForSharingPage]
|
|
|
|
class SelectAdditionalUserForSharingRoute
|
|
|
|
extends PageRouteInfo<SelectAdditionalUserForSharingRouteArgs> {
|
2023-02-24 18:51:35 +02:00
|
|
|
SelectAdditionalUserForSharingRoute({
|
|
|
|
Key? key,
|
|
|
|
required Album album,
|
|
|
|
}) : super(
|
|
|
|
SelectAdditionalUserForSharingRoute.name,
|
|
|
|
path: '/select-additional-user-for-sharing-page',
|
|
|
|
args: SelectAdditionalUserForSharingRouteArgs(
|
|
|
|
key: key,
|
|
|
|
album: album,
|
|
|
|
),
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
static const String name = 'SelectAdditionalUserForSharingRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class SelectAdditionalUserForSharingRouteArgs {
|
2023-02-24 18:51:35 +02:00
|
|
|
const SelectAdditionalUserForSharingRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.album,
|
|
|
|
});
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
2023-02-06 09:13:32 +02:00
|
|
|
final Album album;
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
2023-02-06 09:13:32 +02:00
|
|
|
return 'SelectAdditionalUserForSharingRouteArgs{key: $key, album: $album}';
|
2022-04-24 04:08:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-06 14:22:23 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [BackupAlbumSelectionPage]
|
|
|
|
class BackupAlbumSelectionRoute extends PageRouteInfo<void> {
|
|
|
|
const BackupAlbumSelectionRoute()
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
BackupAlbumSelectionRoute.name,
|
|
|
|
path: '/backup-album-selection-page',
|
|
|
|
);
|
2022-05-06 14:22:23 +02:00
|
|
|
|
|
|
|
static const String name = 'BackupAlbumSelectionRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [AlbumPreviewPage]
|
|
|
|
class AlbumPreviewRoute extends PageRouteInfo<AlbumPreviewRouteArgs> {
|
2023-02-24 18:51:35 +02:00
|
|
|
AlbumPreviewRoute({
|
|
|
|
Key? key,
|
|
|
|
required AssetPathEntity album,
|
|
|
|
}) : super(
|
|
|
|
AlbumPreviewRoute.name,
|
|
|
|
path: '/album-preview-page',
|
|
|
|
args: AlbumPreviewRouteArgs(
|
|
|
|
key: key,
|
|
|
|
album: album,
|
|
|
|
),
|
|
|
|
);
|
2022-05-06 14:22:23 +02:00
|
|
|
|
|
|
|
static const String name = 'AlbumPreviewRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class AlbumPreviewRouteArgs {
|
2023-02-24 18:51:35 +02:00
|
|
|
const AlbumPreviewRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.album,
|
|
|
|
});
|
2022-05-06 14:22:23 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final AssetPathEntity album;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'AlbumPreviewRouteArgs{key: $key, album: $album}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-06 23:12:55 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [FailedBackupStatusPage]
|
|
|
|
class FailedBackupStatusRoute extends PageRouteInfo<void> {
|
|
|
|
const FailedBackupStatusRoute()
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
FailedBackupStatusRoute.name,
|
|
|
|
path: '/failed-backup-status-page',
|
|
|
|
);
|
2022-07-06 23:12:55 +02:00
|
|
|
|
|
|
|
static const String name = 'FailedBackupStatusRoute';
|
|
|
|
}
|
|
|
|
|
2022-08-13 22:51:09 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [SettingsPage]
|
|
|
|
class SettingsRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const SettingsRoute()
|
|
|
|
: super(
|
|
|
|
SettingsRoute.name,
|
|
|
|
path: '/settings-page',
|
|
|
|
);
|
2022-08-13 22:51:09 +02:00
|
|
|
|
|
|
|
static const String name = 'SettingsRoute';
|
|
|
|
}
|
|
|
|
|
2022-11-27 22:34:19 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [AppLogPage]
|
|
|
|
class AppLogRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const AppLogRoute()
|
|
|
|
: super(
|
|
|
|
AppLogRoute.name,
|
|
|
|
path: '/app-log-page',
|
|
|
|
);
|
2022-11-27 22:34:19 +02:00
|
|
|
|
|
|
|
static const String name = 'AppLogRoute';
|
|
|
|
}
|
|
|
|
|
2023-04-03 23:43:46 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [AppLogDetailPage]
|
|
|
|
class AppLogDetailRoute extends PageRouteInfo<AppLogDetailRouteArgs> {
|
|
|
|
AppLogDetailRoute({
|
|
|
|
Key? key,
|
|
|
|
required LoggerMessage logMessage,
|
|
|
|
}) : super(
|
|
|
|
AppLogDetailRoute.name,
|
|
|
|
path: '/app-log-detail-page',
|
|
|
|
args: AppLogDetailRouteArgs(
|
|
|
|
key: key,
|
|
|
|
logMessage: logMessage,
|
|
|
|
),
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'AppLogDetailRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class AppLogDetailRouteArgs {
|
|
|
|
const AppLogDetailRouteArgs({
|
|
|
|
this.key,
|
|
|
|
required this.logMessage,
|
|
|
|
});
|
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final LoggerMessage logMessage;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'AppLogDetailRouteArgs{key: $key, logMessage: $logMessage}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-17 07:02:07 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [ArchivePage]
|
|
|
|
class ArchiveRoute extends PageRouteInfo<void> {
|
|
|
|
const ArchiveRoute()
|
|
|
|
: super(
|
|
|
|
ArchiveRoute.name,
|
|
|
|
path: '/archive-page',
|
|
|
|
);
|
|
|
|
|
|
|
|
static const String name = 'ArchiveRoute';
|
|
|
|
}
|
|
|
|
|
2022-02-27 20:43:29 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [HomePage]
|
|
|
|
class HomeRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const HomeRoute()
|
|
|
|
: super(
|
|
|
|
HomeRoute.name,
|
|
|
|
path: 'home-page',
|
|
|
|
);
|
2022-02-27 20:43:29 +02:00
|
|
|
|
|
|
|
static const String name = 'HomeRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [SearchPage]
|
|
|
|
class SearchRoute extends PageRouteInfo<SearchRouteArgs> {
|
|
|
|
SearchRoute({Key? key})
|
2023-02-24 18:51:35 +02:00
|
|
|
: super(
|
|
|
|
SearchRoute.name,
|
|
|
|
path: 'search-page',
|
|
|
|
args: SearchRouteArgs(key: key),
|
|
|
|
);
|
2022-02-27 20:43:29 +02:00
|
|
|
|
|
|
|
static const String name = 'SearchRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class SearchRouteArgs {
|
|
|
|
const SearchRouteArgs({this.key});
|
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'SearchRouteArgs{key: $key}';
|
|
|
|
}
|
|
|
|
}
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [SharingPage]
|
|
|
|
class SharingRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const SharingRoute()
|
|
|
|
: super(
|
|
|
|
SharingRoute.name,
|
|
|
|
path: 'sharing-page',
|
|
|
|
);
|
2022-04-24 04:08:45 +02:00
|
|
|
|
|
|
|
static const String name = 'SharingRoute';
|
|
|
|
}
|
2022-08-03 07:04:34 +02:00
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [LibraryPage]
|
|
|
|
class LibraryRoute extends PageRouteInfo<void> {
|
2023-02-24 18:51:35 +02:00
|
|
|
const LibraryRoute()
|
|
|
|
: super(
|
|
|
|
LibraryRoute.name,
|
|
|
|
path: 'library-page',
|
|
|
|
);
|
2022-08-03 07:04:34 +02:00
|
|
|
|
|
|
|
static const String name = 'LibraryRoute';
|
|
|
|
}
|