Refresh Indicator
The Refresh Indicator widget provides the classic "pull-to-refresh" functionality. When a user drags a scrollable list downward, a loading indicator appears, and an action can be triggered to refresh the content. This is a common and intuitive way for users to update data in your app.
Properties
Color
The color of the progress indicator.
Background Color
The background color of the progress indicator.
Displacement
The distance from the edge of the screen to the center of the progress indicator.
Edge Offset
The distance from the edge of the screen where the refresh indicator can be triggered.
Stroke Width
The thickness of the circular progress indicator's line.
Trigger Mode
How the refresh indicator is triggered. onEdge
triggers it when the user pulls from the edge of the screen.
On Refresh
The action to be executed when the user triggers a refresh.
Default Properties
The Refresh Indicator widget does not have the standard default properties. Its behavior is primarily controlled by the properties listed above.
Last updated