contentBuilder method
void
contentBuilder(
- BuildContext context,
- RefreshMode refreshState,
- double pulledExtent,
- double refreshTriggerPullDistance,
- double refreshIndicatorExtent,
- AxisDirection axisDirection,
- bool float,
- Duration? completeDuration,
- bool enableInfiniteRefresh,
- bool success,
- bool noMore,
Implementation
void contentBuilder(BuildContext context,
RefreshMode refreshState,
double pulledExtent,
double refreshTriggerPullDistance,
double refreshIndicatorExtent,
AxisDirection axisDirection,
bool float,
Duration? completeDuration,
bool enableInfiniteRefresh,
bool success,
bool noMore) {
this.context = context;
this.refreshState = refreshState;
this.pulledExtent = pulledExtent;
this.refreshTriggerPullDistance = refreshTriggerPullDistance;
this.refreshIndicatorExtent = refreshIndicatorExtent;
this.axisDirection = axisDirection;
this.float = float;
this.completeDuration = completeDuration;
this.enableInfiniteRefresh = enableInfiniteRefresh;
this.success = success;
this.noMore = noMore;
SchedulerBinding.instance.addPostFrameCallback((Duration timestamp) {
notifyListeners();
});
}