SListView.builder constructor
const
SListView.builder({
- Key? key,
- required NullableIndexedWidgetBuilder? builder,
- int? childCount,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- SemanticIndexCallback semanticIndexCallback = _kDefaultSemanticIndexCallback,
- int semanticIndexOffset = 0,
- ChildIndexGetter? findChildIndexCallback,
Implementation
const SListView.builder({
super.key,
required this.builder,
this.childCount,
this.addAutomaticKeepAlives = true,
this.addRepaintBoundaries = true,
this.addSemanticIndexes = true,
this.semanticIndexCallback = _kDefaultSemanticIndexCallback,
this.semanticIndexOffset = 0,
this.findChildIndexCallback,
}) : children = const [];