DragBox constructor

const DragBox({
  1. required Widget child,
  2. Offset startOffset = Offset.zero,
  3. Key? key,
})

Implementation

const DragBox({
  required this.child,
  this.startOffset = Offset.zero,
  Key? key,
}):super(key: key);