RefreshTriggerStage class

Immutable snapshot of refresh trigger state.

Provides information about the current refresh stage and pull extent to indicator builders for rendering appropriate UI.

Constructors

RefreshTriggerStage(TriggerStage stage, Animation<double> extent, Axis direction, bool reverse)
Creates a refresh trigger stage snapshot.
const

Properties

direction Axis
Direction of the pull gesture.
final
extent Animation<double>
Animated pull extent value.
final
extentValue double
Current numeric value of the pull extent.
no setter
hashCode int
The hash code for this object.
no setterinherited
reverse bool
Whether the pull direction is reversed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stage TriggerStage
Current stage of the refresh lifecycle.
final

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