DraggableItem constructor

const DraggableItem({
  1. required Widget child,
  2. required int orderId,
  3. required bool enableLongPress,
  4. Duration longPressDelay = kLongPressTimeout,
  5. bool enabled = true,
  6. BoxDecoration? dragBoxDecoration,
  7. OnCreatedFunction? onCreated,
  8. OnDragUpdateFunction? onDragUpdate,
  9. Key? key,
})

Implementation

const DraggableItem({
  required this.child,
  required this.orderId,
  required this.enableLongPress,
  this.longPressDelay = kLongPressTimeout,
  this.enabled = true,
  this.dragBoxDecoration,
  this.onCreated,
  this.onDragUpdate,
  Key? key,
}) : super(key: key);