SliverInfiniteListOptions constructor

const SliverInfiniteListOptions({
  1. ScrollBehavior? scrollBehavior,
  2. bool reverse = false,
  3. bool shrinkWrap = false,
  4. EdgeInsets? padding,
  5. int loadMoreTriggerItemDistance = 2,
  6. AlwaysScrollableScrollPhysics? scrollPhysics,
  7. Axis scrollDirection = Axis.vertical,
  8. bool addAutomaticKeepAlives = true,
  9. bool addRepaintBoundaries = true,
  10. bool addSemanticIndexes = true,
  11. SemanticIndexCallback? semanticIndexCallback,
  12. int semanticIndexOffset = 0,
})

Implementation

const SliverInfiniteListOptions({
  super.scrollBehavior,
  super.reverse,
  super.shrinkWrap,
  super.padding,
  super.loadMoreTriggerItemDistance,
  super.scrollPhysics,
  super.scrollDirection,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.semanticIndexCallback,
  this.semanticIndexOffset = 0,
});