SliverLazyColumn<T> constructor
const
SliverLazyColumn<T> ({
- Key? key,
- required List<
T> data, - required int? childCount,
- required Widget child(
- BuildContext context,
- T element,
- int index
- void onItemClick(
- BuildContext context,
- T element,
- int index
- ChildIndexGetter? findChildIndexCallback,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- int semanticIndexOffset = 0,
Implementation
const SliverLazyColumn({
Key? key,
required this.data,
required this.childCount,
required this.child,
this.onItemClick,
this.findChildIndexCallback,
this.addAutomaticKeepAlives = true,
this.addRepaintBoundaries = true,
this.addSemanticIndexes = true,
this.semanticIndexOffset = 0,
}) : super(key: key);