DragTargetWillAccept<T> typedef

DragTargetWillAccept<T> = bool Function(T? data)

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);