PhotoViewGalleryPageOptions class
A helper class that wraps individual options of a page in PhotoViewGallery
The maxScale, minScale and initialScale options may be double or a PhotoViewComputedScale constant
Constructors
-
PhotoViewGalleryPageOptions({Key? key, required ImageProvider<
Object> ? imageProvider, 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, ImageErrorWidgetBuilder? errorBuilder, bool enableScaleAndDoubleTap = true}) - 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})
Properties
- basePosition → Alignment?
-
Mirror to PhotoView.basePosition
final
- child → Widget?
-
Mirror to PhotoView.child
final
- childSize → Size?
-
Mirror to PhotoView.childSize
final
- controller → PhotoViewController?
-
Mirror to PhotoView.controller
final
- disableGestures → bool?
-
Mirror to PhotoView.disableGestures
final
- enableScaleAndDoubleTap → bool
-
final
- errorBuilder → ImageErrorWidgetBuilder?
-
Mirror to PhotoView.errorBuilder
final
- filterQuality → FilterQuality?
-
Quality levels for image filters.
final
- gestureDetectorBehavior → HitTestBehavior?
-
Mirror to PhotoView.gestureDetectorBehavior
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heroAttributes → PhotoViewHeroAttributes?
-
Mirror to PhotoView.heroAttributes
final
-
imageProvider
→ ImageProvider<
Object> ? -
Mirror to PhotoView.imageProvider
final
- initialScale → dynamic
-
Mirror to PhotoView.initialScale
final
- maxScale → dynamic
-
Mirror to PhotoView.maxScale
final
- minScale → dynamic
-
Mirror to PhotoView.minScale
final
- onScaleEnd → PhotoViewImageScaleEndCallback?
-
Mirror to PhotoView.onScaleEnd
final
- onTapDown → PhotoViewImageTapDownCallback?
-
Mirror to PhotoView.onTapDown
final
- onTapUp → PhotoViewImageTapUpCallback?
-
Mirror to PhotoView.onTapUp
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleStateController → PhotoViewScaleStateController?
-
Mirror to PhotoView.scaleStateController
final
- scaleStateCycle → ScaleStateCycle?
-
Mirror to PhotoView.scaleStateCycle
final
- tightMode → bool?
-
Mirror to PhotoView.tightMode
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited