onAccept property Null safety

DragTargetAccept<T>? onAccept
final

Called when an acceptable piece of data was dropped over this drag target.

Equivalent to onAcceptWithDetails, but only includes the data.

Implementation

final DragTargetAccept<T>? onAccept;