You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -161,13 +161,15 @@ CustomRefreshIndicator(
161
161
162
162
CustomRefreshIndicator manages various states to provide feedback on the refresh process. Understanding these states will help you customize the behavior and appearance of your refresh indicator.
163
163
164
-
-**idle**: The default state when no interaction is happening. The indicator is not visible, and the value is `0.0`.
165
-
-**dragging**: The user is pulling down, but the pull distance hasn't reached the threshold to trigger a refresh. The value transitions from `0.0` to `1.0` as the user drags further down.
166
-
-**armed**: The pull-down action has passed the threshold. If the user releases the scroll view now, the _onRefresh_ callback will be triggered. The value is at or above `1.0`.
167
-
-**canceling**: The user stopped dragging before the threshold. The refresh operation is not triggered, and the indicator will shrink back to its initial state. The value animates back to `0.0`.
168
-
-**loading**: The _onRefresh_ callback has been triggered, and the refresh operation is in progress. The value is steady at `1.0`, indicating an active refresh.
169
-
-**complete**: Indicates that the refresh operation is finished successfully. This state is only enabled if a _completeDuration_ is provided via the _durations_ parameter. The indicator stays fully visible for the duration specified.
170
-
-**finalizing**: The refresh operation is complete, and the indicator is animating away. The value animates from `1.0` back to `0.0`.
0 commit comments