ListRefreshStrategy<T> constructor

ListRefreshStrategy<T>({
  1. ScrollController? scrollController,
  2. bool? primary,
  3. ScrollPhysics? physics,
  4. bool shrinkWrap = false,
  5. EdgeInsetsGeometry? padding,
  6. double? itemExtent,
  7. Widget? prototypeItem,
  8. double? cacheExtent,
  9. int? semanticChildCount,
  10. String? restorationId,
  11. Clip clipBehavior = Clip.hardEdge,
  12. Widget loadingBuilder(
    1. BuildContext
    )?,
  13. Widget errorBuilder(
    1. BuildContext
    )?,
  14. Widget emptyBuilder(
    1. BuildContext
    )?,
})

Implementation

ListRefreshStrategy({
  this.scrollController,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.itemExtent,
  this.prototypeItem,
  this.cacheExtent,
  this.semanticChildCount,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
  this.loadingBuilder,
  this.errorBuilder,
  this.emptyBuilder,
});