DragTargetWillAccept<T> typedef
Null safety
Signature for determining whether the given data will be accepted by a DragTarget.
Used by DragTarget.onWillAccept.
Implementation
typedef DragTargetWillAccept<T> = bool Function(T? data);