Package-level declarations
Types
Contains the default values for PullToRefreshBox
The state of a PullToRefreshBox which tracks the distance that the container and indicator have been pulled.
Functions
A Modifier that adds nested scroll to a container to support a pull-to-refresh gesture. When the user pulls a distance greater than threshold and releases the gesture, onRefresh is invoked. PullToRefreshBox applies this automatically.
PullToRefreshBox is a container that expects a scrollable layout as content and adds gesture support for manually refreshing when the user swipes downward at the beginning of the content. By default, it uses PullToRefreshDefaults.Indicator as the refresh indicator.
A Modifier that handles the size, offset, clipping, shadow, and background drawing of a pull-to-refresh indicator, useful when implementing custom indicators. PullToRefreshDefaults.Indicator applies this automatically.
Creates a PullToRefreshState.
Create and remember the default PullToRefreshState.