DragTargetDetails<T> constructor
Null safety
- {required T data,
- required Offset offset}
Creates details for a DragTarget callback.
The offset must not be null.
Implementation
DragTargetDetails({required this.data, required this.offset}) : assert(offset != null);