DragTargetAccept<T> typedef Null safety

DragTargetAccept<T> = void Function(T data)

Signature for causing a DragTarget to accept the given data.

Used by DragTarget.onAccept.

Implementation

typedef DragTargetAccept<T> = void Function(T data);