SliverLazyColumn<T>.bind constructor

const SliverLazyColumn<T>.bind(
  1. List<T> data, {
  2. Key? key,
  3. required int? childCount,
  4. required Widget child(
    1. BuildContext context,
    2. T element,
    3. int index
    ),
  5. void onItemClick(
    1. BuildContext context,
    2. T element,
    3. int index
    )?,
  6. 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);