screen/parts/refresh/refresh_copy library
Classes
- CupertinoSliverRefreshControl
- A sliver widget implementing the iOS-style pull to refresh content control.
Enums
- RefreshIndicatorMode
- The current state of the refresh control.
Typedefs
-
RefreshCallback
= Future<
void> Function() -
A callback function that's invoked when the CupertinoSliverRefreshControl is
pulled a
refreshTriggerPullDistance
. Must return a Future. Upon completion of the Future, the CupertinoSliverRefreshControl enters the RefreshIndicatorMode.done state and will start to go away. - RefreshControlIndicatorBuilder = Widget Function(BuildContext context, RefreshIndicatorMode refreshState, double pulledExtent, double refreshTriggerPullDistance, double refreshIndicatorExtent)
- Signature for a builder that can create a different widget to show in the refresh indicator space depending on the current state of the refresh control and the space available.