SwipeUpdateDetails class

Details for DismissUpdateCallback.

See also:

  • swipeable.onUpdate, which receives this information.

Constructors

SwipeUpdateDetails({SwipeDirection direction = SwipeDirection.horizontal, bool reached = false, bool previousReached = false, double progress = 0.0})
Create a new instance of SwipeUpdateDetails.

Properties

direction SwipeDirection
The direction that the swipeable is being dragged.
final
hashCode int
The hash code for this object.
no setterinherited
previousReached bool
Whether the swipe threshold was reached the last time this callback was invoked.
final
progress double
The offset ratio of the swipeable in its parent container.
final
reached bool
Whether the swipe threshold is currently reached.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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