SliverInfiniteListOptions constructor
const
SliverInfiniteListOptions({
- bool reverse = false,
- EdgeInsets? padding,
- int loadMoreTriggerItemDistance = 2,
- ScrollPhysics? scrollPhysics,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- SemanticIndexCallback? semanticIndexCallback,
- 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,
});