onAccept property
Called when an acceptable piece of source
data was dropped over this
destination
. draggable
must be set to true.
Null destination
means the source item wants to be top parent.
source
and destination
are definitely different group.
Implementation
final Function(Parent<T> source, T? destination)? onAccept;