PhotoViewGalleryPageOptions.customChild constructor

PhotoViewGalleryPageOptions.customChild({
  1. required Widget? child,
  2. String? semanticLabel,
  3. Size? childSize,
  4. PhotoViewHeroAttributes? heroAttributes,
  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,
})

Implementation

PhotoViewGalleryPageOptions.customChild({
  required this.child,
  this.semanticLabel,
  this.childSize,
  this.heroAttributes,
  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,
})  : errorBuilder = null,
      imageProvider = null;