PhotoViewOptions constructor

const PhotoViewOptions({
  1. dynamic initialScale,
  2. dynamic minScale,
  3. dynamic maxScale,
  4. BoxDecoration? backgroundDecoration,
  5. FilterQuality? filterQuality,
  6. PhotoViewImageTapDownCallback? onTapDown,
  7. PhotoViewImageTapUpCallback? onTapUp,
  8. LoadingPlaceholderBuilder? loadingBuilder,
  9. ErrorPlaceholderBuilder? errorBuilder,
  10. Alignment? basePosition,
  11. PhotoViewControllerBase<PhotoViewControllerValue>? controller,
  12. Size? customSize,
  13. bool? disableGestures,
  14. bool? enablePanAlways,
  15. bool? enableRotation,
  16. bool? gaplessPlayback,
  17. HitTestBehavior? gestureDetectorBehavior,
  18. PhotoViewHeroAttributes? heroAttributes,
  19. PhotoViewImageScaleEndCallback? onScaleEnd,
  20. PhotoViewScaleStateController? scaleStateController,
  21. ValueChanged<PhotoViewScaleState>? scaleStateChangedCallback,
  22. ScaleStateCycle? scaleStateCycle,
  23. bool? tightMode,
  24. 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,
});