onWillAcceptWithDetails property
final
Called to determine whether this widget is interested in receiving a given piece of data being dragged over this drag target.
Called when a piece of data enters the target. This will be followed by either onAccept and onAcceptWithDetails, if the data is dropped, or onLeave, if the drag leaves the target.
Equivalent to onWillAccept, but with information, including the data, in a DragTargetDetails.
Must not be provided if onWillAccept is provided.
Implementation
final DragTargetWillAcceptWithDetails<T>? onWillAcceptWithDetails;