ReorderableSliverChildListDelegate constructor

ReorderableSliverChildListDelegate(
  1. List<Widget> children, {
  2. bool addAutomaticKeepAlives = true,
  3. bool addRepaintBoundaries = true,
  4. bool addSemanticIndexes = true,
  5. SemanticIndexCallback semanticIndexCallback = _kDefaultSemanticIndexCallback,
  6. int semanticIndexOffset = 0,
})

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

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

Implementation

ReorderableSliverChildListDelegate(
  List<Widget> children, {
  bool addAutomaticKeepAlives = true,
  bool addRepaintBoundaries = true,
  bool addSemanticIndexes = true,
  SemanticIndexCallback semanticIndexCallback =
      _kDefaultSemanticIndexCallback,
  int semanticIndexOffset = 0,
}) : super(
        children,
        addAutomaticKeepAlives: addAutomaticKeepAlives,
        addRepaintBoundaries: addRepaintBoundaries,
        addSemanticIndexes: addSemanticIndexes,
        semanticIndexCallback: semanticIndexCallback,
        semanticIndexOffset: semanticIndexOffset,
      );