contentBuilder method
Widget
contentBuilder(
- BuildContext context,
- RefreshMode refreshState,
- double pulledExtent,
- double refreshTriggerPullDistance,
- double refreshIndicatorExtent,
- AxisDirection axisDirection,
- bool float,
- Duration? completeDuration,
- bool enableInfiniteRefresh,
- bool success,
- bool noMore,
Implementation
@override
Widget contentBuilder(
BuildContext context,
RefreshMode refreshState,
double pulledExtent,
double refreshTriggerPullDistance,
double refreshIndicatorExtent,
AxisDirection axisDirection,
bool float,
Duration? completeDuration,
bool enableInfiniteRefresh,
bool success,
bool noMore) {
return RefreshHeaderController(context,
mode: refreshState,
pulledExtent: pulledExtent,
refreshTriggerPullDistance: refreshTriggerPullDistance,
completeDuration: this.completeDuration!,
success: success,
noMore: noMore,
height: extent,
enableInfiniteRefresh: enableInfiniteRefresh,
refreshIndicatorExtent: refreshIndicatorExtent);
}