ReorderableSliverChildBuilderDelegate constructor

ReorderableSliverChildBuilderDelegate(
  1. IndexedWidgetBuilder builder, {
  2. int? childCount,
  3. bool addAutomaticKeepAlives = true,
  4. bool addRepaintBoundaries = true,
  5. bool addSemanticIndexes = true,
  6. SemanticIndexCallback semanticIndexCallback = _kDefaultSemanticIndexCallback,
  7. int semanticIndexOffset = 0,
})

Creates a delegate that supplies children for slivers using the given builder callback.

The builder, addAutomaticKeepAlives, addRepaintBoundaries, addSemanticIndexes, and semanticIndexCallback arguments must not be null.

Implementation

ReorderableSliverChildBuilderDelegate(
  IndexedWidgetBuilder builder, {
  int? childCount,
  bool addAutomaticKeepAlives = true,
  bool addRepaintBoundaries = true,
  bool addSemanticIndexes = true,
  SemanticIndexCallback semanticIndexCallback =
      _kDefaultSemanticIndexCallback,
  int semanticIndexOffset = 0,
}) : super(
        builder,
        childCount: childCount,
        addAutomaticKeepAlives: addAutomaticKeepAlives,
        addRepaintBoundaries: addRepaintBoundaries,
        addSemanticIndexes: addSemanticIndexes,
        semanticIndexCallback: semanticIndexCallback,
        semanticIndexOffset: semanticIndexOffset,
      );