PhotoViewGalleryPageOptions constructor
PhotoViewGalleryPageOptions({
- Key? key,
- required ImageProvider<
Object> ? imageProvider, - PhotoViewHeroAttributes? heroAttributes,
- String? semanticLabel,
- dynamic minScale,
- dynamic maxScale,
- dynamic initialScale,
- PhotoViewController? controller,
- PhotoViewScaleStateController? scaleStateController,
- Alignment? basePosition,
- ScaleStateCycle? scaleStateCycle,
- PhotoViewImageTapUpCallback? onTapUp,
- PhotoViewImageTapDownCallback? onTapDown,
- PhotoViewImageScaleEndCallback? onScaleEnd,
- HitTestBehavior? gestureDetectorBehavior,
- bool? tightMode,
- FilterQuality? filterQuality,
- bool? disableGestures,
- ImageErrorWidgetBuilder? errorBuilder,
Implementation
PhotoViewGalleryPageOptions({
Key? key,
required this.imageProvider,
this.heroAttributes,
this.semanticLabel,
this.minScale,
this.maxScale,
this.initialScale,
this.controller,
this.scaleStateController,
this.basePosition,
this.scaleStateCycle,
this.onTapUp,
this.onTapDown,
this.onScaleEnd,
this.gestureDetectorBehavior,
this.tightMode,
this.filterQuality,
this.disableGestures,
this.errorBuilder,
}) : child = null,
childSize = null,
assert(imageProvider != null);