Draggable<T> constructor

const Draggable<T>({
  1. required T data,
  2. required Widget child,
  3. Key? key,
})

Creates a Draggable widget.

Implementation

const Draggable({required this.data, required this.child, super.key});