SListView constructor

const SListView({
  1. Key? key,
  2. List<Widget> children = const [],
  3. bool addAutomaticKeepAlives = true,
  4. bool addRepaintBoundaries = true,
  5. bool addSemanticIndexes = true,
  6. SemanticIndexCallback semanticIndexCallback = _kDefaultSemanticIndexCallback,
  7. int semanticIndexOffset = 0,
})

Implementation

const SListView({
  super.key,
  this.children = const [],
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.semanticIndexCallback = _kDefaultSemanticIndexCallback,
  this.semanticIndexOffset = 0,
})  : builder = null,
      findChildIndexCallback = null,
      childCount = children.length;