PhotoPage constructor
const
PhotoPage({
- Key? key,
- required ImageProvider<
Object> imageProvider, - ImageProvider<
Object> ? thumbImageProvider, - LoadingBuilder? loadingBuilder,
- Widget? loadFailedChild,
- Color backcolor = Colors.black,
- String? heroTag,
- RouteType routeType = RouteType.fade,
- bool allowShrinkPhoto = true,
- bool willPop = false,
- bool? gaplessPlayback,
- bool allowPullDownToPop = false,
- PullDownPopConfig pullDownPopConfig = const PullDownPopConfig(),
- Color? imageColor,
- BlendMode? imageColorBlendMode,
- FilterQuality? filterQuality,
- ImageLoadSuccess? imageLoadSuccess,
- ImageLoadSuccess? thumbImageLoadSuccess,
- OnScaleChanged? onScaleChanged,
- PullDownPopChanged? pullDownPopChanged,
Implementation
const PhotoPage({
Key? key,
required this.imageProvider,
this.thumbImageProvider,
this.loadingBuilder,
this.loadFailedChild,
this.backcolor = Colors.black,
this.heroTag,
this.routeType = RouteType.fade,
this.allowShrinkPhoto = true,
this.willPop = false,
this.gaplessPlayback,
this.allowPullDownToPop = false,
this.pullDownPopConfig = const PullDownPopConfig(),
this.imageColor,
this.imageColorBlendMode,
this.filterQuality,
this.imageLoadSuccess,
this.thumbImageLoadSuccess,
this.onScaleChanged,
this.pullDownPopChanged,
}) : super(key: key);