DragTargetDetails<T> constructor

DragTargetDetails<T>({
  1. required T data,
  2. required Offset offset,
})

Creates details for a DragTarget callback.

Implementation

DragTargetDetails({required this.data, required this.offset});