ExtendedPhotoGalleryPageOptions class

A helper class that contains options of a photo page, used in ExtendedPhotoGallery.

Inheritance

Constructors

ExtendedPhotoGalleryPageOptions({required ImageProvider<Object> imageProviderBuilder(ValueKey key), dynamic initialScale, dynamic minScale, dynamic maxScale, BoxDecoration? backgroundDecoration, FilterQuality? filterQuality, PhotoViewImageTapDownCallback? onTapDown, PhotoViewImageTapUpCallback? onTapUp, LoadingPlaceholderBuilder? loadingBuilder, ErrorPlaceholderBuilder? errorBuilder, Alignment? basePosition, PhotoViewControllerBase<PhotoViewControllerValue>? controller, Size? customSize, bool? disableGestures, bool? enablePanAlways, bool? enableRotation, bool? gaplessPlayback, HitTestBehavior? gestureDetectorBehavior, PhotoViewHeroAttributes? heroAttributes, PhotoViewImageScaleEndCallback? onScaleEnd, PhotoViewScaleStateController? scaleStateController, ValueChanged<PhotoViewScaleState>? scaleStateChangedCallback, ScaleStateCycle? scaleStateCycle, bool? tightMode, bool? wantKeepAlive})
const

Properties

backgroundDecoration BoxDecoration?
finalinherited
basePosition Alignment?
finalinherited
controller → PhotoViewControllerBase<PhotoViewControllerValue>?
finalinherited
customSize Size?
finalinherited
disableGestures bool?
finalinherited
enablePanAlways bool?
finalinherited
enableRotation bool?
finalinherited
errorBuilder ErrorPlaceholderBuilder?
finalinherited
filterQuality FilterQuality?
finalinherited
gaplessPlayback bool?
finalinherited
gestureDetectorBehavior HitTestBehavior?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
heroAttributes → PhotoViewHeroAttributes?
finalinherited
imageProviderBuilder ImageProvider<Object> Function(ValueKey key)
The ImageProvider builder with ValueKey, which can be used to reload image.
final
initialScale → dynamic
finalinherited
loadingBuilder LoadingPlaceholderBuilder?
finalinherited
maxScale → dynamic
finalinherited
minScale → dynamic
finalinherited
onScaleEnd → PhotoViewImageScaleEndCallback?
finalinherited
onTapDown → PhotoViewImageTapDownCallback?
finalinherited
onTapUp → PhotoViewImageTapUpCallback?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleStateChangedCallback ValueChanged<PhotoViewScaleState>?
finalinherited
scaleStateController → PhotoViewScaleStateController?
finalinherited
scaleStateCycle → ScaleStateCycle?
finalinherited
tightMode bool?
finalinherited
wantKeepAlive bool?
finalinherited

Methods

copyWith({dynamic initialScale, dynamic minScale, dynamic maxScale, BoxDecoration? backgroundDecoration, FilterQuality? filterQuality, PhotoViewImageTapDownCallback? onTapDown, PhotoViewImageTapUpCallback? onTapUp, LoadingPlaceholderBuilder? loadingBuilder, ErrorPlaceholderBuilder? errorBuilder, Alignment? basePosition, PhotoViewControllerBase<PhotoViewControllerValue>? controller, Size? customSize, bool? disableGestures, bool? enablePanAlways, bool? enableRotation, bool? gaplessPlayback, HitTestBehavior? gestureDetectorBehavior, PhotoViewHeroAttributes? heroAttributes, PhotoViewImageScaleEndCallback? onScaleEnd, PhotoViewScaleStateController? scaleStateController, ValueChanged<PhotoViewScaleState>? scaleStateChangedCallback, ScaleStateCycle? scaleStateCycle, bool? tightMode, bool? wantKeepAlive}) PhotoViewOptions
Creates a copy of this value but with given fields replaced with the new values.
inherited
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