PhotoViewOptions constructor
const
PhotoViewOptions({
- dynamic initialScale,
- dynamic minScale,
- dynamic maxScale,
- BoxDecoration? backgroundDecoration,
- FilterQuality? filterQuality,
- PhotoViewImageTapDownCallback? onTapDown,
- PhotoViewImageTapUpCallback? onTapUp,
- LoadingPlaceholderBuilder? loadingBuilder,
- ErrorPlaceholderBuilder? errorBuilder,
- Alignment? basePosition,
- PhotoViewControllerBase<
PhotoViewControllerValue> ? controller, - Size? customSize,
- bool? disableGestures,
- bool? enablePanAlways,
- bool? enableRotation,
- bool? gaplessPlayback,
- HitTestBehavior? gestureDetectorBehavior,
- PhotoViewHeroAttributes? heroAttributes,
- PhotoViewImageScaleEndCallback? onScaleEnd,
- PhotoViewScaleStateController? scaleStateController,
- ValueChanged<
PhotoViewScaleState> ? scaleStateChangedCallback, - ScaleStateCycle? scaleStateCycle,
- bool? tightMode,
- bool? wantKeepAlive,
Implementation
const PhotoViewOptions({
this.initialScale,
this.minScale,
this.maxScale,
this.backgroundDecoration,
this.filterQuality,
this.onTapDown,
this.onTapUp,
this.loadingBuilder,
this.errorBuilder,
//
this.basePosition,
this.controller,
this.customSize,
this.disableGestures,
this.enablePanAlways,
this.enableRotation,
this.gaplessPlayback,
this.gestureDetectorBehavior,
this.heroAttributes,
this.onScaleEnd,
this.scaleStateController,
this.scaleStateChangedCallback,
this.scaleStateCycle,
this.tightMode,
this.wantKeepAlive,
});