Understand Indicator States
masterThe IndicatorController provides access to the current state of the refresh process. You can use these states to drive your custom animations:
| State | Value Range | Description |
|---|---|---|
idle | 0.0 | Default state; indicator is not visible. |
dragging | 0.0 to 1.0 | User is pulling down, but hasn't reached the threshold. |
armed | At or above 1.0 | Threshold reached. Releasing will trigger onRefresh. |
canceling | Animates to 0.0 | Pull-down stopped before threshold; indicator retracts. |
loading | Steady at 1.0 | onRefresh callback is currently active. |
complete | Steady at 1.0 | Refresh is finished; stays visible if completeDuration is set. |
finalizing | 1.0 to 0.0 | Refresh finished; indicator is animating back to initial state. |