PhotoViewGalleryPageOptions class Null safety

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})
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})

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
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.
read-onlyinherited
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.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited