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 {
|
|
|
|
_$AppRouter(
|
|
|
|
{GlobalKey<NavigatorState>? navigatorKey, required this.authGuard})
|
|
|
|
: super(navigatorKey);
|
|
|
|
|
|
|
|
final AuthGuard authGuard;
|
|
|
|
|
|
|
|
@override
|
|
|
|
final Map<String, PageFactory> pagesMap = {
|
2022-06-21 01:10:23 +02:00
|
|
|
SplashScreenRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const SplashScreenPage());
|
|
|
|
},
|
2022-02-03 18:06:44 +02:00
|
|
|
LoginRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const LoginPage());
|
|
|
|
},
|
2022-06-27 22:13:07 +02:00
|
|
|
ChangePasswordRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const ChangePasswordPage());
|
|
|
|
},
|
2022-02-27 20:43:29 +02:00
|
|
|
TabControllerRoute.name: (routeData) {
|
2022-06-21 01:10:23 +02:00
|
|
|
return CustomPage<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const TabControllerPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.fadeIn,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false);
|
2022-02-03 18:06:44 +02:00
|
|
|
},
|
|
|
|
ImageViewerRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<ImageViewerRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: ImageViewerPage(
|
|
|
|
key: args.key,
|
|
|
|
imageUrl: args.imageUrl,
|
|
|
|
heroTag: args.heroTag,
|
2022-02-11 04:40:11 +02:00
|
|
|
thumbnailUrl: args.thumbnailUrl,
|
|
|
|
asset: args.asset));
|
2022-02-06 08:07:56 +02:00
|
|
|
},
|
|
|
|
VideoViewerRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<VideoViewerRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
2022-04-02 19:31:53 +02:00
|
|
|
child: VideoViewerPage(
|
|
|
|
key: args.key, videoUrl: args.videoUrl, asset: args.asset));
|
2022-02-27 20:43:29 +02:00
|
|
|
},
|
|
|
|
BackupControllerRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const BackupControllerPage());
|
|
|
|
},
|
2022-03-03 00:44:24 +02:00
|
|
|
SearchResultRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<SearchResultRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: SearchResultPage(key: args.key, searchTerm: args.searchTerm));
|
|
|
|
},
|
2022-04-24 04:08:45 +02:00
|
|
|
CreateSharedAlbumRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const CreateSharedAlbumPage());
|
|
|
|
},
|
|
|
|
AssetSelectionRoute.name: (routeData) {
|
|
|
|
return CustomPage<AssetSelectionPageResult?>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const AssetSelectionPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false);
|
|
|
|
},
|
|
|
|
SelectUserForSharingRoute.name: (routeData) {
|
|
|
|
return CustomPage<List<String>>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: const SelectUserForSharingPage(),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false);
|
|
|
|
},
|
|
|
|
AlbumViewerRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<AlbumViewerRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: AlbumViewerPage(key: args.key, albumId: args.albumId));
|
|
|
|
},
|
|
|
|
SelectAdditionalUserForSharingRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<SelectAdditionalUserForSharingRouteArgs>();
|
|
|
|
return CustomPage<List<String>?>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: SelectAdditionalUserForSharingPage(
|
|
|
|
key: args.key, albumInfo: args.albumInfo),
|
|
|
|
transitionsBuilder: TransitionsBuilders.slideBottom,
|
|
|
|
opaque: true,
|
|
|
|
barrierDismissible: false);
|
|
|
|
},
|
2022-05-06 14:22:23 +02:00
|
|
|
BackupAlbumSelectionRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const BackupAlbumSelectionPage());
|
|
|
|
},
|
|
|
|
AlbumPreviewRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<AlbumPreviewRouteArgs>();
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData,
|
|
|
|
child: AlbumPreviewPage(key: args.key, album: args.album));
|
|
|
|
},
|
2022-02-27 20:43:29 +02:00
|
|
|
HomeRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const HomePage());
|
|
|
|
},
|
|
|
|
SearchRoute.name: (routeData) {
|
|
|
|
final args = routeData.argsAs<SearchRouteArgs>(
|
|
|
|
orElse: () => const SearchRouteArgs());
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: SearchPage(key: args.key));
|
2022-04-24 04:08:45 +02:00
|
|
|
},
|
|
|
|
SharingRoute.name: (routeData) {
|
|
|
|
return MaterialPageX<dynamic>(
|
|
|
|
routeData: routeData, child: const SharingPage());
|
2022-02-03 18:06:44 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<RouteConfig> get routes => [
|
2022-06-21 01:10:23 +02:00
|
|
|
RouteConfig(SplashScreenRoute.name, path: '/'),
|
|
|
|
RouteConfig(LoginRoute.name, path: '/login-page'),
|
2022-06-27 22:13:07 +02:00
|
|
|
RouteConfig(ChangePasswordRoute.name, path: '/change-password-page'),
|
2022-02-27 20:43:29 +02:00
|
|
|
RouteConfig(TabControllerRoute.name,
|
|
|
|
path: '/tab-controller-page',
|
|
|
|
guards: [
|
|
|
|
authGuard
|
|
|
|
],
|
|
|
|
children: [
|
|
|
|
RouteConfig(HomeRoute.name,
|
|
|
|
path: 'home-page',
|
|
|
|
parent: TabControllerRoute.name,
|
|
|
|
guards: [authGuard]),
|
|
|
|
RouteConfig(SearchRoute.name,
|
|
|
|
path: 'search-page',
|
|
|
|
parent: TabControllerRoute.name,
|
2022-04-24 04:08:45 +02:00
|
|
|
guards: [authGuard]),
|
|
|
|
RouteConfig(SharingRoute.name,
|
|
|
|
path: 'sharing-page',
|
|
|
|
parent: TabControllerRoute.name,
|
2022-02-27 20:43:29 +02:00
|
|
|
guards: [authGuard])
|
|
|
|
]),
|
2022-02-03 18:06:44 +02:00
|
|
|
RouteConfig(ImageViewerRoute.name,
|
2022-02-06 08:07:56 +02:00
|
|
|
path: '/image-viewer-page', guards: [authGuard]),
|
|
|
|
RouteConfig(VideoViewerRoute.name,
|
2022-02-27 20:43:29 +02:00
|
|
|
path: '/video-viewer-page', guards: [authGuard]),
|
|
|
|
RouteConfig(BackupControllerRoute.name,
|
2022-03-03 00:44:24 +02:00
|
|
|
path: '/backup-controller-page', guards: [authGuard]),
|
|
|
|
RouteConfig(SearchResultRoute.name,
|
2022-04-24 04:08:45 +02:00
|
|
|
path: '/search-result-page', guards: [authGuard]),
|
|
|
|
RouteConfig(CreateSharedAlbumRoute.name,
|
|
|
|
path: '/create-shared-album-page', guards: [authGuard]),
|
|
|
|
RouteConfig(AssetSelectionRoute.name,
|
|
|
|
path: '/asset-selection-page', guards: [authGuard]),
|
|
|
|
RouteConfig(SelectUserForSharingRoute.name,
|
|
|
|
path: '/select-user-for-sharing-page', guards: [authGuard]),
|
|
|
|
RouteConfig(AlbumViewerRoute.name,
|
|
|
|
path: '/album-viewer-page', guards: [authGuard]),
|
|
|
|
RouteConfig(SelectAdditionalUserForSharingRoute.name,
|
|
|
|
path: '/select-additional-user-for-sharing-page',
|
2022-05-06 14:22:23 +02:00
|
|
|
guards: [authGuard]),
|
|
|
|
RouteConfig(BackupAlbumSelectionRoute.name,
|
|
|
|
path: '/backup-album-selection-page', guards: [authGuard]),
|
|
|
|
RouteConfig(AlbumPreviewRoute.name,
|
|
|
|
path: '/album-preview-page', guards: [authGuard])
|
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> {
|
|
|
|
const SplashScreenRoute() : super(SplashScreenRoute.name, path: '/');
|
|
|
|
|
|
|
|
static const String name = 'SplashScreenRoute';
|
|
|
|
}
|
|
|
|
|
2022-02-03 18:06:44 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [LoginPage]
|
|
|
|
class LoginRoute extends PageRouteInfo<void> {
|
2022-06-21 01:10:23 +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()
|
|
|
|
: super(ChangePasswordRoute.name, path: '/change-password-page');
|
|
|
|
|
|
|
|
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})
|
|
|
|
: 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
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [ImageViewerPage]
|
|
|
|
class ImageViewerRoute extends PageRouteInfo<ImageViewerRouteArgs> {
|
|
|
|
ImageViewerRoute(
|
|
|
|
{Key? key,
|
|
|
|
required String imageUrl,
|
|
|
|
required String heroTag,
|
2022-02-11 04:40:11 +02:00
|
|
|
required String thumbnailUrl,
|
|
|
|
required ImmichAsset asset})
|
2022-02-03 18:06:44 +02:00
|
|
|
: super(ImageViewerRoute.name,
|
|
|
|
path: '/image-viewer-page',
|
|
|
|
args: ImageViewerRouteArgs(
|
|
|
|
key: key,
|
|
|
|
imageUrl: imageUrl,
|
|
|
|
heroTag: heroTag,
|
2022-02-11 04:40:11 +02:00
|
|
|
thumbnailUrl: thumbnailUrl,
|
|
|
|
asset: asset));
|
2022-02-03 18:06:44 +02:00
|
|
|
|
|
|
|
static const String name = 'ImageViewerRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class ImageViewerRouteArgs {
|
|
|
|
const ImageViewerRouteArgs(
|
|
|
|
{this.key,
|
|
|
|
required this.imageUrl,
|
|
|
|
required this.heroTag,
|
2022-02-11 04:40:11 +02:00
|
|
|
required this.thumbnailUrl,
|
|
|
|
required this.asset});
|
2022-02-03 18:06:44 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final String imageUrl;
|
|
|
|
|
|
|
|
final String heroTag;
|
|
|
|
|
|
|
|
final String thumbnailUrl;
|
|
|
|
|
2022-02-11 04:40:11 +02:00
|
|
|
final ImmichAsset asset;
|
|
|
|
|
2022-02-03 18:06:44 +02:00
|
|
|
@override
|
|
|
|
String toString() {
|
2022-02-11 04:40:11 +02:00
|
|
|
return 'ImageViewerRouteArgs{key: $key, imageUrl: $imageUrl, heroTag: $heroTag, thumbnailUrl: $thumbnailUrl, asset: $asset}';
|
2022-02-03 18:06:44 +02:00
|
|
|
}
|
|
|
|
}
|
2022-02-06 08:07:56 +02:00
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [VideoViewerPage]
|
|
|
|
class VideoViewerRoute extends PageRouteInfo<VideoViewerRouteArgs> {
|
2022-04-02 19:31:53 +02:00
|
|
|
VideoViewerRoute(
|
|
|
|
{Key? key, required String videoUrl, required ImmichAsset asset})
|
2022-02-06 08:07:56 +02:00
|
|
|
: super(VideoViewerRoute.name,
|
|
|
|
path: '/video-viewer-page',
|
2022-04-02 19:31:53 +02:00
|
|
|
args: VideoViewerRouteArgs(
|
|
|
|
key: key, videoUrl: videoUrl, asset: asset));
|
2022-02-06 08:07:56 +02:00
|
|
|
|
|
|
|
static const String name = 'VideoViewerRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class VideoViewerRouteArgs {
|
2022-04-02 19:31:53 +02:00
|
|
|
const VideoViewerRouteArgs(
|
|
|
|
{this.key, required this.videoUrl, required this.asset});
|
2022-02-06 08:07:56 +02:00
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final String videoUrl;
|
|
|
|
|
2022-04-02 19:31:53 +02:00
|
|
|
final ImmichAsset asset;
|
|
|
|
|
2022-02-06 08:07:56 +02:00
|
|
|
@override
|
|
|
|
String toString() {
|
2022-04-02 19:31:53 +02:00
|
|
|
return 'VideoViewerRouteArgs{key: $key, videoUrl: $videoUrl, asset: $asset}';
|
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()
|
|
|
|
: super(BackupControllerRoute.name, path: '/backup-controller-page');
|
|
|
|
|
|
|
|
static const String name = 'BackupControllerRoute';
|
|
|
|
}
|
|
|
|
|
2022-03-03 00:44:24 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [SearchResultPage]
|
|
|
|
class SearchResultRoute extends PageRouteInfo<SearchResultRouteArgs> {
|
|
|
|
SearchResultRoute({Key? key, required String searchTerm})
|
|
|
|
: super(SearchResultRoute.name,
|
|
|
|
path: '/search-result-page',
|
|
|
|
args: SearchResultRouteArgs(key: key, searchTerm: searchTerm));
|
|
|
|
|
|
|
|
static const String name = 'SearchResultRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class SearchResultRouteArgs {
|
|
|
|
const SearchResultRouteArgs({this.key, required this.searchTerm});
|
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final String searchTerm;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'SearchResultRouteArgs{key: $key, searchTerm: $searchTerm}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-24 04:08:45 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [CreateSharedAlbumPage]
|
|
|
|
class CreateSharedAlbumRoute extends PageRouteInfo<void> {
|
|
|
|
const CreateSharedAlbumRoute()
|
|
|
|
: super(CreateSharedAlbumRoute.name, path: '/create-shared-album-page');
|
|
|
|
|
|
|
|
static const String name = 'CreateSharedAlbumRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [AssetSelectionPage]
|
|
|
|
class AssetSelectionRoute extends PageRouteInfo<void> {
|
|
|
|
const AssetSelectionRoute()
|
|
|
|
: super(AssetSelectionRoute.name, path: '/asset-selection-page');
|
|
|
|
|
|
|
|
static const String name = 'AssetSelectionRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [SelectUserForSharingPage]
|
|
|
|
class SelectUserForSharingRoute extends PageRouteInfo<void> {
|
|
|
|
const SelectUserForSharingRoute()
|
|
|
|
: super(SelectUserForSharingRoute.name,
|
|
|
|
path: '/select-user-for-sharing-page');
|
|
|
|
|
|
|
|
static const String name = 'SelectUserForSharingRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [AlbumViewerPage]
|
|
|
|
class AlbumViewerRoute extends PageRouteInfo<AlbumViewerRouteArgs> {
|
|
|
|
AlbumViewerRoute({Key? key, required String albumId})
|
|
|
|
: super(AlbumViewerRoute.name,
|
|
|
|
path: '/album-viewer-page',
|
|
|
|
args: AlbumViewerRouteArgs(key: key, albumId: albumId));
|
|
|
|
|
|
|
|
static const String name = 'AlbumViewerRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class AlbumViewerRouteArgs {
|
|
|
|
const AlbumViewerRouteArgs({this.key, required this.albumId});
|
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final String albumId;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'AlbumViewerRouteArgs{key: $key, albumId: $albumId}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [SelectAdditionalUserForSharingPage]
|
|
|
|
class SelectAdditionalUserForSharingRoute
|
|
|
|
extends PageRouteInfo<SelectAdditionalUserForSharingRouteArgs> {
|
|
|
|
SelectAdditionalUserForSharingRoute(
|
|
|
|
{Key? key, required SharedAlbum albumInfo})
|
|
|
|
: super(SelectAdditionalUserForSharingRoute.name,
|
|
|
|
path: '/select-additional-user-for-sharing-page',
|
|
|
|
args: SelectAdditionalUserForSharingRouteArgs(
|
|
|
|
key: key, albumInfo: albumInfo));
|
|
|
|
|
|
|
|
static const String name = 'SelectAdditionalUserForSharingRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class SelectAdditionalUserForSharingRouteArgs {
|
|
|
|
const SelectAdditionalUserForSharingRouteArgs(
|
|
|
|
{this.key, required this.albumInfo});
|
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final SharedAlbum albumInfo;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'SelectAdditionalUserForSharingRouteArgs{key: $key, albumInfo: $albumInfo}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-06 14:22:23 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [BackupAlbumSelectionPage]
|
|
|
|
class BackupAlbumSelectionRoute extends PageRouteInfo<void> {
|
|
|
|
const BackupAlbumSelectionRoute()
|
|
|
|
: super(BackupAlbumSelectionRoute.name,
|
|
|
|
path: '/backup-album-selection-page');
|
|
|
|
|
|
|
|
static const String name = 'BackupAlbumSelectionRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [AlbumPreviewPage]
|
|
|
|
class AlbumPreviewRoute extends PageRouteInfo<AlbumPreviewRouteArgs> {
|
|
|
|
AlbumPreviewRoute({Key? key, required AssetPathEntity album})
|
|
|
|
: super(AlbumPreviewRoute.name,
|
|
|
|
path: '/album-preview-page',
|
|
|
|
args: AlbumPreviewRouteArgs(key: key, album: album));
|
|
|
|
|
|
|
|
static const String name = 'AlbumPreviewRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
class AlbumPreviewRouteArgs {
|
|
|
|
const AlbumPreviewRouteArgs({this.key, required this.album});
|
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
|
|
|
final AssetPathEntity album;
|
|
|
|
|
|
|
|
@override
|
|
|
|
String toString() {
|
|
|
|
return 'AlbumPreviewRouteArgs{key: $key, album: $album}';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-27 20:43:29 +02:00
|
|
|
/// generated route for
|
|
|
|
/// [HomePage]
|
|
|
|
class HomeRoute extends PageRouteInfo<void> {
|
|
|
|
const HomeRoute() : super(HomeRoute.name, path: 'home-page');
|
|
|
|
|
|
|
|
static const String name = 'HomeRoute';
|
|
|
|
}
|
|
|
|
|
|
|
|
/// generated route for
|
|
|
|
/// [SearchPage]
|
|
|
|
class SearchRoute extends PageRouteInfo<SearchRouteArgs> {
|
|
|
|
SearchRoute({Key? key})
|
|
|
|
: super(SearchRoute.name,
|
|
|
|
path: 'search-page', args: SearchRouteArgs(key: key));
|
|
|
|
|
|
|
|
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> {
|
|
|
|
const SharingRoute() : super(SharingRoute.name, path: 'sharing-page');
|
|
|
|
|
|
|
|
static const String name = 'SharingRoute';
|
|
|
|
}
|