PhotoViewGalleryPageOptions constructor

PhotoViewGalleryPageOptions({
  1. Key? key,
  2. required ImageProvider<Object>? imageProvider,
  3. PhotoViewHeroAttributes? heroAttributes,
  4. String? semanticLabel,
  5. dynamic minScale,
  6. dynamic maxScale,
  7. dynamic initialScale,
  8. PhotoViewController? controller,
  9. PhotoViewScaleStateController? scaleStateController,
  10. Alignment? basePosition,
  11. ScaleStateCycle? scaleStateCycle,
  12. PhotoViewImageTapUpCallback? onTapUp,
  13. PhotoViewImageTapDownCallback? onTapDown,
  14. PhotoViewImageScaleEndCallback? onScaleEnd,
  15. HitTestBehavior? gestureDetectorBehavior,
  16. bool? tightMode,
  17. FilterQuality? filterQuality,
  18. bool? disableGestures,
  19. 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);