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