RefreshIndicatorMode enum
The current state of the refresh control.
Passed into the RefreshControlIndicatorBuilder builder function so users can show different UI in different modes.
Values
- inactive → const RefreshIndicatorMode
-
Initial state, when not being overscrolled into, or after the overscroll is canceled or after done and the sliver retracted away.
- drag → const RefreshIndicatorMode
-
While being overscrolled but not far enough yet to trigger the refresh.
- armed → const RefreshIndicatorMode
-
Dragged far enough that the onRefresh callback will run and the dragged displacement is not yet at the final refresh resting state.
- refresh → const RefreshIndicatorMode
-
While the onRefresh task is running.
- done → const RefreshIndicatorMode
-
While the indicator is animating away after refreshing.
Properties
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
Constants
-
values
→ const List<
RefreshIndicatorMode> - A constant List of the values in this enum, in order of their declaration.