onDragMove property
MhDragMoveResult Function(BuildContext context, MhDragState dragState, T? dropTargetItem)?
onDragMove
getter/setter pair
This function is called on the drag target where the dragged items are beeing dragged over Inside this function you should manipulate the dragState. e.g. finetune the allowed Drop Modes according to the items being dragged and the current targetItem
Returning MhDragMoveResult.acceptDrop with false will show the user, that a drop is not possible here MhDragState is holding the details of the dragOperation like draggedItems and MhDropPosition
Implementation
MhDragMoveResult Function(
BuildContext context, MhDragState dragState, T? dropTargetItem)?
onDragMove;