IndexListView constructor

const IndexListView({
  1. Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. required int itemCount,
  4. IndexListController? controller,
  5. bool shrinkWrap = false,
  6. bool reverse = false,
  7. bool addSemanticIndexes = true,
  8. bool addAutomaticKeepAlive = true,
  9. bool addRepaintBoundaries = true,
  10. EdgeInsets? padding,
  11. int? semanticChildCount,
  12. Axis scrollDirection = Axis.vertical,
  13. double initialAlignment = 0.0,
  14. int initialScrollIndex = 0,
  15. double? minCacheExtent,
  16. ValueSetter<int>? onChangeMinIndex,
  17. ValueSetter<int>? onChangeMaxIndex,
  18. 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);