PhotoViewGalleryPageOptions.customChild constructor
PhotoViewGalleryPageOptions.customChild({
- required Widget? child,
- Size? childSize,
- PhotoViewHeroAttributes? heroAttributes,
- dynamic minScale,
- dynamic maxScale,
- dynamic initialScale,
- PhotoViewController? controller,
- PhotoViewScaleStateController? scaleStateController,
- Alignment? basePosition,
- ScaleStateCycle? scaleStateCycle,
- PhotoViewImageTapUpCallback? onTapUp,
- PhotoViewImageTapDownCallback? onTapDown,
- PhotoViewImageScaleEndCallback? onScaleEnd,
- HitTestBehavior? gestureDetectorBehavior,
- bool? tightMode,
- FilterQuality? filterQuality,
- bool? disableGestures,
- 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;