SliverInfiniteListOptions constructor

const SliverInfiniteListOptions({
  1. bool reverse = false,
  2. EdgeInsets? padding,
  3. int loadMoreTriggerItemDistance = 2,
  4. ScrollPhysics? scrollPhysics,
  5. bool addAutomaticKeepAlives = true,
  6. bool addRepaintBoundaries = true,
  7. bool addSemanticIndexes = true,
  8. SemanticIndexCallback? semanticIndexCallback,
  9. int semanticIndexOffset = 0,
})

Implementation

const SliverInfiniteListOptions({
  this.reverse = false,
  this.padding,
  this.loadMoreTriggerItemDistance = 2,
  this.scrollPhysics,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.semanticIndexCallback,
  this.semanticIndexOffset = 0,
});