mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore: bump line length to 120 (#20191)
This commit is contained in:
parent
977c9b96ba
commit
ad65e9011a
517 changed files with 4520 additions and 9514 deletions
|
|
@ -27,24 +27,19 @@ class AppNavigationObserver extends AutoRouterObserver {
|
|||
_handleLockedViewState(route, previousRoute);
|
||||
_handleDriftLockedFolderState(route, previousRoute);
|
||||
Future(
|
||||
() => ref.read(currentRouteNameProvider.notifier).state =
|
||||
route.settings.name,
|
||||
() => ref.read(currentRouteNameProvider.notifier).state = route.settings.name,
|
||||
);
|
||||
}
|
||||
|
||||
_handleLockedViewState(Route route, Route? previousRoute) {
|
||||
final isInLockedView = ref.read(inLockedViewProvider);
|
||||
final isFromLockedViewToDetailView =
|
||||
route.settings.name == GalleryViewerRoute.name &&
|
||||
previousRoute?.settings.name == LockedRoute.name;
|
||||
route.settings.name == GalleryViewerRoute.name && previousRoute?.settings.name == LockedRoute.name;
|
||||
|
||||
final isFromDetailViewToInfoPanelView = route.settings.name == null &&
|
||||
previousRoute?.settings.name == GalleryViewerRoute.name &&
|
||||
isInLockedView;
|
||||
final isFromDetailViewToInfoPanelView =
|
||||
route.settings.name == null && previousRoute?.settings.name == GalleryViewerRoute.name && isInLockedView;
|
||||
|
||||
if (route.settings.name == LockedRoute.name ||
|
||||
isFromLockedViewToDetailView ||
|
||||
isFromDetailViewToInfoPanelView) {
|
||||
if (route.settings.name == LockedRoute.name || isFromLockedViewToDetailView || isFromDetailViewToInfoPanelView) {
|
||||
Future(
|
||||
() => ref.read(inLockedViewProvider.notifier).state = true,
|
||||
);
|
||||
|
|
@ -58,12 +53,10 @@ class AppNavigationObserver extends AutoRouterObserver {
|
|||
_handleDriftLockedFolderState(Route route, Route? previousRoute) {
|
||||
final isInLockedView = ref.read(inLockedViewProvider);
|
||||
final isFromLockedViewToDetailView =
|
||||
route.settings.name == AssetViewerRoute.name &&
|
||||
previousRoute?.settings.name == DriftLockedFolderRoute.name;
|
||||
route.settings.name == AssetViewerRoute.name && previousRoute?.settings.name == DriftLockedFolderRoute.name;
|
||||
|
||||
final isFromDetailViewToInfoPanelView = route.settings.name == null &&
|
||||
previousRoute?.settings.name == AssetViewerRoute.name &&
|
||||
isInLockedView;
|
||||
final isFromDetailViewToInfoPanelView =
|
||||
route.settings.name == null && previousRoute?.settings.name == AssetViewerRoute.name && isInLockedView;
|
||||
|
||||
if (route.settings.name == DriftLockedFolderRoute.name ||
|
||||
isFromLockedViewToDetailView ||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@ import 'package:flutter/material.dart';
|
|||
class CustomTransitionsBuilders {
|
||||
const CustomTransitionsBuilders._();
|
||||
|
||||
static const ZoomPageTransitionsBuilder zoomPageTransitionsBuilder =
|
||||
ZoomPageTransitionsBuilder();
|
||||
static const ZoomPageTransitionsBuilder zoomPageTransitionsBuilder = ZoomPageTransitionsBuilder();
|
||||
|
||||
static const RouteTransitionsBuilder zoomedPage = _zoomedPage;
|
||||
|
||||
|
|
@ -19,8 +18,7 @@ class CustomTransitionsBuilders {
|
|||
PageRouteBuilder(
|
||||
allowSnapshotting: true,
|
||||
fullscreenDialog: false,
|
||||
pageBuilder: (context, animation, secondaryAnimation) =>
|
||||
const SizedBox.shrink(),
|
||||
pageBuilder: (context, animation, secondaryAnimation) => const SizedBox.shrink(),
|
||||
),
|
||||
context,
|
||||
animation,
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ class GalleryGuard extends AutoRouteGuard {
|
|||
@override
|
||||
void onNavigation(NavigationResolver resolver, StackRouter router) async {
|
||||
final newRouteName = resolver.route.name;
|
||||
final currentTopRouteName =
|
||||
router.stack.isNotEmpty ? router.stack.last.name : null;
|
||||
final currentTopRouteName = router.stack.isNotEmpty ? router.stack.last.name : null;
|
||||
|
||||
if (currentTopRouteName == newRouteName) {
|
||||
// Replace instead of pushing duplicate
|
||||
|
|
|
|||
|
|
@ -139,8 +139,7 @@ class AppRouter extends RootStackRouter {
|
|||
) {
|
||||
_authGuard = AuthGuard(apiService);
|
||||
_duplicateGuard = const DuplicateGuard();
|
||||
_lockedGuard =
|
||||
LockedGuard(apiService, secureStorageService, localAuthService);
|
||||
_lockedGuard = LockedGuard(apiService, secureStorageService, localAuthService);
|
||||
_backupPermissionGuard = BackupPermissionGuard(galleryPermissionNotifier);
|
||||
_galleryGuard = const GalleryGuard();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ part of 'router.dart';
|
|||
/// generated route for
|
||||
/// [ActivitiesPage]
|
||||
class ActivitiesRoute extends PageRouteInfo<void> {
|
||||
const ActivitiesRoute({List<PageRouteInfo>? children})
|
||||
: super(ActivitiesRoute.name, initialChildren: children);
|
||||
const ActivitiesRoute({List<PageRouteInfo>? children}) : super(ActivitiesRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ActivitiesRoute';
|
||||
|
||||
|
|
@ -28,8 +27,7 @@ class ActivitiesRoute extends PageRouteInfo<void> {
|
|||
|
||||
/// generated route for
|
||||
/// [AlbumAdditionalSharedUserSelectionPage]
|
||||
class AlbumAdditionalSharedUserSelectionRoute
|
||||
extends PageRouteInfo<AlbumAdditionalSharedUserSelectionRouteArgs> {
|
||||
class AlbumAdditionalSharedUserSelectionRoute extends PageRouteInfo<AlbumAdditionalSharedUserSelectionRouteArgs> {
|
||||
AlbumAdditionalSharedUserSelectionRoute({
|
||||
Key? key,
|
||||
required Album album,
|
||||
|
|
@ -75,8 +73,7 @@ class AlbumAdditionalSharedUserSelectionRouteArgs {
|
|||
|
||||
/// generated route for
|
||||
/// [AlbumAssetSelectionPage]
|
||||
class AlbumAssetSelectionRoute
|
||||
extends PageRouteInfo<AlbumAssetSelectionRouteArgs> {
|
||||
class AlbumAssetSelectionRoute extends PageRouteInfo<AlbumAssetSelectionRouteArgs> {
|
||||
AlbumAssetSelectionRoute({
|
||||
Key? key,
|
||||
required Set<Asset> existingAssets,
|
||||
|
|
@ -129,8 +126,7 @@ class AlbumAssetSelectionRouteArgs {
|
|||
/// generated route for
|
||||
/// [AlbumOptionsPage]
|
||||
class AlbumOptionsRoute extends PageRouteInfo<void> {
|
||||
const AlbumOptionsRoute({List<PageRouteInfo>? children})
|
||||
: super(AlbumOptionsRoute.name, initialChildren: children);
|
||||
const AlbumOptionsRoute({List<PageRouteInfo>? children}) : super(AlbumOptionsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AlbumOptionsRoute';
|
||||
|
||||
|
|
@ -181,8 +177,7 @@ class AlbumPreviewRouteArgs {
|
|||
|
||||
/// generated route for
|
||||
/// [AlbumSharedUserSelectionPage]
|
||||
class AlbumSharedUserSelectionRoute
|
||||
extends PageRouteInfo<AlbumSharedUserSelectionRouteArgs> {
|
||||
class AlbumSharedUserSelectionRoute extends PageRouteInfo<AlbumSharedUserSelectionRouteArgs> {
|
||||
AlbumSharedUserSelectionRoute({
|
||||
Key? key,
|
||||
required Set<Asset> assets,
|
||||
|
|
@ -257,8 +252,7 @@ class AlbumViewerRouteArgs {
|
|||
/// generated route for
|
||||
/// [AlbumsPage]
|
||||
class AlbumsRoute extends PageRouteInfo<void> {
|
||||
const AlbumsRoute({List<PageRouteInfo>? children})
|
||||
: super(AlbumsRoute.name, initialChildren: children);
|
||||
const AlbumsRoute({List<PageRouteInfo>? children}) : super(AlbumsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AlbumsRoute';
|
||||
|
||||
|
|
@ -289,8 +283,7 @@ class AllMotionPhotosRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [AllPeoplePage]
|
||||
class AllPeopleRoute extends PageRouteInfo<void> {
|
||||
const AllPeopleRoute({List<PageRouteInfo>? children})
|
||||
: super(AllPeopleRoute.name, initialChildren: children);
|
||||
const AllPeopleRoute({List<PageRouteInfo>? children}) : super(AllPeopleRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AllPeopleRoute';
|
||||
|
||||
|
|
@ -305,8 +298,7 @@ class AllPeopleRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [AllPlacesPage]
|
||||
class AllPlacesRoute extends PageRouteInfo<void> {
|
||||
const AllPlacesRoute({List<PageRouteInfo>? children})
|
||||
: super(AllPlacesRoute.name, initialChildren: children);
|
||||
const AllPlacesRoute({List<PageRouteInfo>? children}) : super(AllPlacesRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AllPlacesRoute';
|
||||
|
||||
|
|
@ -321,8 +313,7 @@ class AllPlacesRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [AllVideosPage]
|
||||
class AllVideosRoute extends PageRouteInfo<void> {
|
||||
const AllVideosRoute({List<PageRouteInfo>? children})
|
||||
: super(AllVideosRoute.name, initialChildren: children);
|
||||
const AllVideosRoute({List<PageRouteInfo>? children}) : super(AllVideosRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AllVideosRoute';
|
||||
|
||||
|
|
@ -374,8 +365,7 @@ class AppLogDetailRouteArgs {
|
|||
/// generated route for
|
||||
/// [AppLogPage]
|
||||
class AppLogRoute extends PageRouteInfo<void> {
|
||||
const AppLogRoute({List<PageRouteInfo>? children})
|
||||
: super(AppLogRoute.name, initialChildren: children);
|
||||
const AppLogRoute({List<PageRouteInfo>? children}) : super(AppLogRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AppLogRoute';
|
||||
|
||||
|
|
@ -390,8 +380,7 @@ class AppLogRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [ArchivePage]
|
||||
class ArchiveRoute extends PageRouteInfo<void> {
|
||||
const ArchiveRoute({List<PageRouteInfo>? children})
|
||||
: super(ArchiveRoute.name, initialChildren: children);
|
||||
const ArchiveRoute({List<PageRouteInfo>? children}) : super(ArchiveRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ArchiveRoute';
|
||||
|
||||
|
|
@ -490,8 +479,7 @@ class BackupControllerRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [BackupOptionsPage]
|
||||
class BackupOptionsRoute extends PageRouteInfo<void> {
|
||||
const BackupOptionsRoute({List<PageRouteInfo>? children})
|
||||
: super(BackupOptionsRoute.name, initialChildren: children);
|
||||
const BackupOptionsRoute({List<PageRouteInfo>? children}) : super(BackupOptionsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'BackupOptionsRoute';
|
||||
|
||||
|
|
@ -664,8 +652,7 @@ class CropImageRouteArgs {
|
|||
/// generated route for
|
||||
/// [DriftAlbumsPage]
|
||||
class DriftAlbumsRoute extends PageRouteInfo<void> {
|
||||
const DriftAlbumsRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftAlbumsRoute.name, initialChildren: children);
|
||||
const DriftAlbumsRoute({List<PageRouteInfo>? children}) : super(DriftAlbumsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftAlbumsRoute';
|
||||
|
||||
|
|
@ -680,8 +667,7 @@ class DriftAlbumsRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [DriftArchivePage]
|
||||
class DriftArchiveRoute extends PageRouteInfo<void> {
|
||||
const DriftArchiveRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftArchiveRoute.name, initialChildren: children);
|
||||
const DriftArchiveRoute({List<PageRouteInfo>? children}) : super(DriftArchiveRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftArchiveRoute';
|
||||
|
||||
|
|
@ -695,8 +681,7 @@ class DriftArchiveRoute extends PageRouteInfo<void> {
|
|||
|
||||
/// generated route for
|
||||
/// [DriftAssetSelectionTimelinePage]
|
||||
class DriftAssetSelectionTimelineRoute
|
||||
extends PageRouteInfo<DriftAssetSelectionTimelineRouteArgs> {
|
||||
class DriftAssetSelectionTimelineRoute extends PageRouteInfo<DriftAssetSelectionTimelineRouteArgs> {
|
||||
DriftAssetSelectionTimelineRoute({
|
||||
Key? key,
|
||||
Set<BaseAsset> lockedSelectionAssets = const {},
|
||||
|
|
@ -761,8 +746,7 @@ class DriftBackupAlbumSelectionRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [DriftBackupPage]
|
||||
class DriftBackupRoute extends PageRouteInfo<void> {
|
||||
const DriftBackupRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftBackupRoute.name, initialChildren: children);
|
||||
const DriftBackupRoute({List<PageRouteInfo>? children}) : super(DriftBackupRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftBackupRoute';
|
||||
|
||||
|
|
@ -793,8 +777,7 @@ class DriftCreateAlbumRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [DriftFavoritePage]
|
||||
class DriftFavoriteRoute extends PageRouteInfo<void> {
|
||||
const DriftFavoriteRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftFavoriteRoute.name, initialChildren: children);
|
||||
const DriftFavoriteRoute({List<PageRouteInfo>? children}) : super(DriftFavoriteRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftFavoriteRoute';
|
||||
|
||||
|
|
@ -809,8 +792,7 @@ class DriftFavoriteRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [DriftLibraryPage]
|
||||
class DriftLibraryRoute extends PageRouteInfo<void> {
|
||||
const DriftLibraryRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftLibraryRoute.name, initialChildren: children);
|
||||
const DriftLibraryRoute({List<PageRouteInfo>? children}) : super(DriftLibraryRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftLibraryRoute';
|
||||
|
||||
|
|
@ -908,8 +890,7 @@ class DriftMemoryRouteArgs {
|
|||
|
||||
/// generated route for
|
||||
/// [DriftPartnerDetailPage]
|
||||
class DriftPartnerDetailRoute
|
||||
extends PageRouteInfo<DriftPartnerDetailRouteArgs> {
|
||||
class DriftPartnerDetailRoute extends PageRouteInfo<DriftPartnerDetailRouteArgs> {
|
||||
DriftPartnerDetailRoute({
|
||||
Key? key,
|
||||
required PartnerUserDto partner,
|
||||
|
|
@ -947,8 +928,7 @@ class DriftPartnerDetailRouteArgs {
|
|||
/// generated route for
|
||||
/// [DriftPartnerPage]
|
||||
class DriftPartnerRoute extends PageRouteInfo<void> {
|
||||
const DriftPartnerRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftPartnerRoute.name, initialChildren: children);
|
||||
const DriftPartnerRoute({List<PageRouteInfo>? children}) : super(DriftPartnerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftPartnerRoute';
|
||||
|
||||
|
|
@ -1097,8 +1077,7 @@ class DriftSearchRouteArgs {
|
|||
/// generated route for
|
||||
/// [DriftTrashPage]
|
||||
class DriftTrashRoute extends PageRouteInfo<void> {
|
||||
const DriftTrashRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftTrashRoute.name, initialChildren: children);
|
||||
const DriftTrashRoute({List<PageRouteInfo>? children}) : super(DriftTrashRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftTrashRoute';
|
||||
|
||||
|
|
@ -1128,8 +1107,7 @@ class DriftUploadDetailRoute extends PageRouteInfo<void> {
|
|||
|
||||
/// generated route for
|
||||
/// [DriftUserSelectionPage]
|
||||
class DriftUserSelectionRoute
|
||||
extends PageRouteInfo<DriftUserSelectionRouteArgs> {
|
||||
class DriftUserSelectionRoute extends PageRouteInfo<DriftUserSelectionRouteArgs> {
|
||||
DriftUserSelectionRoute({
|
||||
Key? key,
|
||||
required RemoteAlbum album,
|
||||
|
|
@ -1167,8 +1145,7 @@ class DriftUserSelectionRouteArgs {
|
|||
/// generated route for
|
||||
/// [DriftVideoPage]
|
||||
class DriftVideoRoute extends PageRouteInfo<void> {
|
||||
const DriftVideoRoute({List<PageRouteInfo>? children})
|
||||
: super(DriftVideoRoute.name, initialChildren: children);
|
||||
const DriftVideoRoute({List<PageRouteInfo>? children}) : super(DriftVideoRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DriftVideoRoute';
|
||||
|
||||
|
|
@ -1257,8 +1234,7 @@ class FailedBackupStatusRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [FavoritesPage]
|
||||
class FavoritesRoute extends PageRouteInfo<void> {
|
||||
const FavoritesRoute({List<PageRouteInfo>? children})
|
||||
: super(FavoritesRoute.name, initialChildren: children);
|
||||
const FavoritesRoute({List<PageRouteInfo>? children}) : super(FavoritesRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'FavoritesRoute';
|
||||
|
||||
|
|
@ -1273,8 +1249,7 @@ class FavoritesRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [FeatInDevPage]
|
||||
class FeatInDevRoute extends PageRouteInfo<void> {
|
||||
const FeatInDevRoute({List<PageRouteInfo>? children})
|
||||
: super(FeatInDevRoute.name, initialChildren: children);
|
||||
const FeatInDevRoute({List<PageRouteInfo>? children}) : super(FeatInDevRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'FeatInDevRoute';
|
||||
|
||||
|
|
@ -1456,8 +1431,7 @@ class HeaderSettingsRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [LibraryPage]
|
||||
class LibraryRoute extends PageRouteInfo<void> {
|
||||
const LibraryRoute({List<PageRouteInfo>? children})
|
||||
: super(LibraryRoute.name, initialChildren: children);
|
||||
const LibraryRoute({List<PageRouteInfo>? children}) : super(LibraryRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LibraryRoute';
|
||||
|
||||
|
|
@ -1472,8 +1446,7 @@ class LibraryRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [LocalAlbumsPage]
|
||||
class LocalAlbumsRoute extends PageRouteInfo<void> {
|
||||
const LocalAlbumsRoute({List<PageRouteInfo>? children})
|
||||
: super(LocalAlbumsRoute.name, initialChildren: children);
|
||||
const LocalAlbumsRoute({List<PageRouteInfo>? children}) : super(LocalAlbumsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LocalAlbumsRoute';
|
||||
|
||||
|
|
@ -1541,8 +1514,7 @@ class LocalTimelineRouteArgs {
|
|||
/// generated route for
|
||||
/// [LockedPage]
|
||||
class LockedRoute extends PageRouteInfo<void> {
|
||||
const LockedRoute({List<PageRouteInfo>? children})
|
||||
: super(LockedRoute.name, initialChildren: children);
|
||||
const LockedRoute({List<PageRouteInfo>? children}) : super(LockedRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LockedRoute';
|
||||
|
||||
|
|
@ -1557,8 +1529,7 @@ class LockedRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [LoginPage]
|
||||
class LoginRoute extends PageRouteInfo<void> {
|
||||
const LoginRoute({List<PageRouteInfo>? children})
|
||||
: super(LoginRoute.name, initialChildren: children);
|
||||
const LoginRoute({List<PageRouteInfo>? children}) : super(LoginRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LoginRoute';
|
||||
|
||||
|
|
@ -1573,8 +1544,7 @@ class LoginRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [MainTimelinePage]
|
||||
class MainTimelineRoute extends PageRouteInfo<void> {
|
||||
const MainTimelineRoute({List<PageRouteInfo>? children})
|
||||
: super(MainTimelineRoute.name, initialChildren: children);
|
||||
const MainTimelineRoute({List<PageRouteInfo>? children}) : super(MainTimelineRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MainTimelineRoute';
|
||||
|
||||
|
|
@ -1826,8 +1796,7 @@ class PartnerDetailRouteArgs {
|
|||
/// generated route for
|
||||
/// [PartnerPage]
|
||||
class PartnerRoute extends PageRouteInfo<void> {
|
||||
const PartnerRoute({List<PageRouteInfo>? children})
|
||||
: super(PartnerRoute.name, initialChildren: children);
|
||||
const PartnerRoute({List<PageRouteInfo>? children}) : super(PartnerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'PartnerRoute';
|
||||
|
||||
|
|
@ -1926,8 +1895,7 @@ class PersonResultRouteArgs {
|
|||
/// generated route for
|
||||
/// [PhotosPage]
|
||||
class PhotosRoute extends PageRouteInfo<void> {
|
||||
const PhotosRoute({List<PageRouteInfo>? children})
|
||||
: super(PhotosRoute.name, initialChildren: children);
|
||||
const PhotosRoute({List<PageRouteInfo>? children}) : super(PhotosRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'PhotosRoute';
|
||||
|
||||
|
|
@ -2026,8 +1994,7 @@ class PlacesCollectionRouteArgs {
|
|||
/// generated route for
|
||||
/// [RecentlyTakenPage]
|
||||
class RecentlyTakenRoute extends PageRouteInfo<void> {
|
||||
const RecentlyTakenRoute({List<PageRouteInfo>? children})
|
||||
: super(RecentlyTakenRoute.name, initialChildren: children);
|
||||
const RecentlyTakenRoute({List<PageRouteInfo>? children}) : super(RecentlyTakenRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'RecentlyTakenRoute';
|
||||
|
||||
|
|
@ -2134,8 +2101,7 @@ class SearchRouteArgs {
|
|||
/// generated route for
|
||||
/// [SettingsPage]
|
||||
class SettingsRoute extends PageRouteInfo<void> {
|
||||
const SettingsRoute({List<PageRouteInfo>? children})
|
||||
: super(SettingsRoute.name, initialChildren: children);
|
||||
const SettingsRoute({List<PageRouteInfo>? children}) : super(SettingsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SettingsRoute';
|
||||
|
||||
|
|
@ -2284,8 +2250,7 @@ class SharedLinkEditRouteArgs {
|
|||
/// generated route for
|
||||
/// [SharedLinkPage]
|
||||
class SharedLinkRoute extends PageRouteInfo<void> {
|
||||
const SharedLinkRoute({List<PageRouteInfo>? children})
|
||||
: super(SharedLinkRoute.name, initialChildren: children);
|
||||
const SharedLinkRoute({List<PageRouteInfo>? children}) : super(SharedLinkRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SharedLinkRoute';
|
||||
|
||||
|
|
@ -2300,8 +2265,7 @@ class SharedLinkRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [SplashScreenPage]
|
||||
class SplashScreenRoute extends PageRouteInfo<void> {
|
||||
const SplashScreenRoute({List<PageRouteInfo>? children})
|
||||
: super(SplashScreenRoute.name, initialChildren: children);
|
||||
const SplashScreenRoute({List<PageRouteInfo>? children}) : super(SplashScreenRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SplashScreenRoute';
|
||||
|
||||
|
|
@ -2316,8 +2280,7 @@ class SplashScreenRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [TabControllerPage]
|
||||
class TabControllerRoute extends PageRouteInfo<void> {
|
||||
const TabControllerRoute({List<PageRouteInfo>? children})
|
||||
: super(TabControllerRoute.name, initialChildren: children);
|
||||
const TabControllerRoute({List<PageRouteInfo>? children}) : super(TabControllerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TabControllerRoute';
|
||||
|
||||
|
|
@ -2332,8 +2295,7 @@ class TabControllerRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [TabShellPage]
|
||||
class TabShellRoute extends PageRouteInfo<void> {
|
||||
const TabShellRoute({List<PageRouteInfo>? children})
|
||||
: super(TabShellRoute.name, initialChildren: children);
|
||||
const TabShellRoute({List<PageRouteInfo>? children}) : super(TabShellRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TabShellRoute';
|
||||
|
||||
|
|
@ -2348,8 +2310,7 @@ class TabShellRoute extends PageRouteInfo<void> {
|
|||
/// generated route for
|
||||
/// [TrashPage]
|
||||
class TrashRoute extends PageRouteInfo<void> {
|
||||
const TrashRoute({List<PageRouteInfo>? children})
|
||||
: super(TrashRoute.name, initialChildren: children);
|
||||
const TrashRoute({List<PageRouteInfo>? children}) : super(TrashRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TrashRoute';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue