DismissUpdateDetails class Null safety
Details for DismissUpdateCallback.
See also:
- Dismissible.onUpdate, which receives this information.
Constructors
- DismissUpdateDetails({DismissDirection direction = DismissDirection.horizontal, bool reached = false, bool previousReached = false, double progress = 0.0})
- Create a new instance of DismissUpdateDetails.
Properties
- direction → DismissDirection
-
The direction that the dismissible is being dragged.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- previousReached → bool
-
Whether the dismiss threshold was reached the last time this callback was invoked.
final
- progress → double
-
The offset ratio of the dismissible in its parent container.
final
- reached → bool
-
Whether the dismiss threshold is currently reached.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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