DraggableItem constructor
const
DraggableItem({
- required Widget child,
- required int orderId,
- required bool enableLongPress,
- Duration longPressDelay = kLongPressTimeout,
- bool enabled = true,
- BoxDecoration? dragBoxDecoration,
- OnCreatedFunction? onCreated,
- OnDragUpdateFunction? onDragUpdate,
- 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);