contentBuilder method

void contentBuilder(
  1. BuildContext context,
  2. LoadMode loadState,
  3. double pulledExtent,
  4. double loadTriggerPullDistance,
  5. double loadIndicatorExtent,
  6. AxisDirection axisDirection,
  7. bool float,
  8. Duration? completeDuration,
  9. bool enableInfiniteLoad,
  10. bool success,
  11. bool noMore,
)

Implementation

void contentBuilder(
    BuildContext context,
    LoadMode loadState,
    double pulledExtent,
    double loadTriggerPullDistance,
    double loadIndicatorExtent,
    AxisDirection axisDirection,
    bool float,
    Duration? completeDuration,
    bool enableInfiniteLoad,
    bool success,
    bool noMore) {
  this.context = context;
  this.loadState = loadState;
  this.pulledExtent = pulledExtent;
  this.loadTriggerPullDistance = loadTriggerPullDistance;
  this.loadIndicatorExtent = loadIndicatorExtent;
  this.axisDirection = axisDirection;
  this.float = float;
  this.completeDuration = completeDuration;
  this.enableInfiniteLoad = enableInfiniteLoad;
  this.success = success;
  this.noMore = noMore;
  _ambiguate(SchedulerBinding.instance)!
      .addPostFrameCallback((Duration timestamp) {
    notifyListeners();
  });
}