AnimatedSliverChildBuilderDelegate constructor

const AnimatedSliverChildBuilderDelegate(
  1. AnimatedNullableIndexedWidgetBuilder builder,
  2. {ChildIndexGetter findChildIndexCallback,
  3. int childCount(
      ): _kChildCount,
    1. bool addAutomaticKeepAlives: true,
    2. bool addRepaintBoundaries: true,
    3. bool addSemanticIndexes: true,
    4. SemanticIndexCallback semanticIndexCallback: _kDefaultSemanticIndexCallback,
    5. int semanticIndexOffset: 0}
    )

    Implementation

    const AnimatedSliverChildBuilderDelegate(
      this.builder, {
      this.findChildIndexCallback,
      this.childCount = _kChildCount,
      this.addAutomaticKeepAlives = true,
      this.addRepaintBoundaries = true,
      this.addSemanticIndexes = true,
      this.semanticIndexCallback = _kDefaultSemanticIndexCallback,
      this.semanticIndexOffset = 0,
    })  : assert(builder != null),
          assert(addAutomaticKeepAlives != null),
          assert(addRepaintBoundaries != null),
          assert(addSemanticIndexes != null),
          assert(semanticIndexCallback != null);