ReorderableBuilder constructor

const ReorderableBuilder({
  1. required List<Widget> children,
  2. required DraggableBuilder builder,
  3. ScrollController? scrollController,
  4. ReorderListCallback? onReorder,
  5. List<int> lockedIndices = const [],
  6. bool enableLongPress = true,
  7. Duration longPressDelay = kLongPressTimeout,
  8. bool enableDraggable = true,
  9. double automaticScrollExtent = 80.0,
  10. bool enableScrollingWhileDragging = true,
  11. BoxDecoration? dragChildBoxDecoration,
  12. Duration? initDelay,
  13. VoidCallback? onDragStarted,
  14. VoidCallback? onDragEnd,
  15. Key? key,
})

Implementation

const ReorderableBuilder({
  required this.children,
  required this.builder,
  this.scrollController,
  this.onReorder,
  this.lockedIndices = const [],
  this.enableLongPress = true,
  this.longPressDelay = kLongPressTimeout,
  this.enableDraggable = true,
  this.automaticScrollExtent = 80.0,
  this.enableScrollingWhileDragging = true,
  this.dragChildBoxDecoration,
  this.initDelay,
  this.onDragStarted,
  this.onDragEnd,
  Key? key,
})  : assert((enableDraggable && onReorder != null) || !enableDraggable),
      super(key: key);