DragTargetLeave<T> typedef

DragTargetLeave<T> = void Function(T? data)

Signature for when a Draggable leaves a DragTarget.

Used by DragTarget.onLeave.

Implementation

typedef DragTargetLeave<T> = void Function(T? data);