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