GestureConfig class

Constructors

GestureConfig({double minScale, double maxScale, double speed, bool cacheGesture, double inertialSpeed, double initialScale, bool inPageView, double animationMinScale, double animationMaxScale, InitialAlignment initialAlignment = InitialAlignment.center, GestureDetailsIsChanged gestureDetailsIsChanged})

Properties

animationMaxScale double
final
animationMinScale double
final
cacheGesture bool
save Gesture state (for example in page view, so that the state will not change when scroll back), remember clearGestureDetailsCache at right time
final
gestureDetailsIsChanged GestureDetailsIsChanged
Call when GestureDetails is changed
final
hashCode int
The hash code for this object. [...]
read-only, inherited
inertialSpeed double
final double magnitude = details.velocity.pixelsPerSecond.distance; final Offset direction = details.velocity.pixelsPerSecond / magnitude * _gestureConfig.inertialSpeed;
final
initialAlignment InitialAlignment
init image rect with alignment when initialScale > 1.0 see https://github.com/fluttercandies/extended_image/issues/66
final
initialScale double
initial scale of image
final
inPageView bool
whether in page view
final
maxScale double
final
minScale double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
speed double
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