PhotoViewGalleryPageOptions.customChild constructor

PhotoViewGalleryPageOptions.customChild({
  1. required Widget? child,
  2. Size? childSize,
  3. PhotoViewHeroAttributes? heroAttributes,
  4. dynamic minScale,
  5. dynamic maxScale,
  6. dynamic initialScale,
  7. PhotoViewController? controller,
  8. PhotoViewScaleStateController? scaleStateController,
  9. Alignment? basePosition,
  10. ScaleStateCycle? scaleStateCycle,
  11. PhotoViewImageTapUpCallback? onTapUp,
  12. PhotoViewImageTapDownCallback? onTapDown,
  13. PhotoViewImageScaleEndCallback? onScaleEnd,
  14. HitTestBehavior? gestureDetectorBehavior,
  15. bool? tightMode,
  16. FilterQuality? filterQuality,
  17. bool? disableGestures,
  18. bool enableScaleAndDoubleTap = true,
})

Implementation

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