onAccept property Null safety
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;
Called when an acceptable piece of data was dropped over this drag target.
Equivalent to onAcceptWithDetails, but only includes the data.
final DragTargetAccept<T>? onAccept;