|
|
|
|
@ -59,8 +59,6 @@ class _$AppRouter extends RootStackRouter {
|
|
|
|
|
authToken: args.authToken,
|
|
|
|
|
isZoomedFunction: args.isZoomedFunction,
|
|
|
|
|
isZoomedListener: args.isZoomedListener,
|
|
|
|
|
onLoadingCompleted: args.onLoadingCompleted,
|
|
|
|
|
onLoadingStart: args.onLoadingStart,
|
|
|
|
|
threeStageLoading: args.threeStageLoading));
|
|
|
|
|
},
|
|
|
|
|
VideoViewerRoute.name: (routeData) {
|
|
|
|
|
@ -297,8 +295,6 @@ class ImageViewerRoute extends PageRouteInfo<ImageViewerRouteArgs> {
|
|
|
|
|
required String authToken,
|
|
|
|
|
required void Function() isZoomedFunction,
|
|
|
|
|
required ValueNotifier<bool> isZoomedListener,
|
|
|
|
|
required void Function() onLoadingCompleted,
|
|
|
|
|
required void Function() onLoadingStart,
|
|
|
|
|
required bool threeStageLoading})
|
|
|
|
|
: super(ImageViewerRoute.name,
|
|
|
|
|
path: '/image-viewer-page',
|
|
|
|
|
@ -309,8 +305,6 @@ class ImageViewerRoute extends PageRouteInfo<ImageViewerRouteArgs> {
|
|
|
|
|
authToken: authToken,
|
|
|
|
|
isZoomedFunction: isZoomedFunction,
|
|
|
|
|
isZoomedListener: isZoomedListener,
|
|
|
|
|
onLoadingCompleted: onLoadingCompleted,
|
|
|
|
|
onLoadingStart: onLoadingStart,
|
|
|
|
|
threeStageLoading: threeStageLoading));
|
|
|
|
|
|
|
|
|
|
static const String name = 'ImageViewerRoute';
|
|
|
|
|
@ -324,8 +318,6 @@ class ImageViewerRouteArgs {
|
|
|
|
|
required this.authToken,
|
|
|
|
|
required this.isZoomedFunction,
|
|
|
|
|
required this.isZoomedListener,
|
|
|
|
|
required this.onLoadingCompleted,
|
|
|
|
|
required this.onLoadingStart,
|
|
|
|
|
required this.threeStageLoading});
|
|
|
|
|
|
|
|
|
|
final Key? key;
|
|
|
|
|
@ -340,15 +332,11 @@ class ImageViewerRouteArgs {
|
|
|
|
|
|
|
|
|
|
final ValueNotifier<bool> isZoomedListener;
|
|
|
|
|
|
|
|
|
|
final void Function() onLoadingCompleted;
|
|
|
|
|
|
|
|
|
|
final void Function() onLoadingStart;
|
|
|
|
|
|
|
|
|
|
final bool threeStageLoading;
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'ImageViewerRouteArgs{key: $key, heroTag: $heroTag, asset: $asset, authToken: $authToken, isZoomedFunction: $isZoomedFunction, isZoomedListener: $isZoomedListener, onLoadingCompleted: $onLoadingCompleted, onLoadingStart: $onLoadingStart, threeStageLoading: $threeStageLoading}';
|
|
|
|
|
return 'ImageViewerRouteArgs{key: $key, heroTag: $heroTag, asset: $asset, authToken: $authToken, isZoomedFunction: $isZoomedFunction, isZoomedListener: $isZoomedListener, threeStageLoading: $threeStageLoading}';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|