RefreshControlIndicatorBuilder typedef
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.
The refreshTriggerPullDistance
and refreshIndicatorExtent
parameters are
the same values passed into the CupertinoSliverRefreshControl.
The pulledExtent
parameter is the currently available space either from
overscrolling or as held by the sliver during refresh.
Implementation
typedef RefreshControlIndicatorBuilder = Widget Function(
BuildContext context,
RefreshIndicatorMode refreshState,
double pulledExtent,
double refreshTriggerPullDistance,
double refreshIndicatorExtent,
);