SliverInfiniteListOptions constructor
const
SliverInfiniteListOptions({
- ScrollBehavior? scrollBehavior,
- bool reverse = false,
- bool shrinkWrap = false,
- EdgeInsets? padding,
- int loadMoreTriggerItemDistance = 2,
- AlwaysScrollableScrollPhysics? scrollPhysics,
- Axis scrollDirection = Axis.vertical,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- SemanticIndexCallback? semanticIndexCallback,
- 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,
});