IndexListView constructor
const
IndexListView({
- Key? key,
- required IndexedWidgetBuilder itemBuilder,
- required int itemCount,
- IndexListController? controller,
- bool shrinkWrap = false,
- bool reverse = false,
- bool addSemanticIndexes = true,
- bool addAutomaticKeepAlive = true,
- bool addRepaintBoundaries = true,
- EdgeInsets? padding,
- int? semanticChildCount,
- Axis scrollDirection = Axis.vertical,
- double initialAlignment = 0.0,
- int initialScrollIndex = 0,
- double? minCacheExtent,
- ValueSetter<
int> ? onChangeMinIndex, - ValueSetter<
int> ? onChangeMaxIndex, - ScrollPhysics? physics,
Implementation
const IndexListView({
Key? key,
required this.itemBuilder,
required this.itemCount,
this.controller,
this.shrinkWrap = false,
this.reverse = false,
this.addSemanticIndexes = true,
this.addAutomaticKeepAlive = true,
this.addRepaintBoundaries = true,
this.padding,
this.semanticChildCount,
this.scrollDirection = Axis.vertical,
this.initialAlignment = 0.0,
this.initialScrollIndex = 0,
this.minCacheExtent,
this.onChangeMinIndex,
this.onChangeMaxIndex,
this.physics,
}) : super(key: key);