onAcceptDrop property
MhAcceptDropResult Function(MhDragState dragState, List<T> droppedItems, T? targetItem)?
onAcceptDrop
getter/setter pair
This function is called if a Drag Drop Action occured from another MhItemsView or another widget This function should - if needed - create the new items from the list of dropped items and return them otherwise the droppedItems are used to be integrated into the list
Implementation
MhAcceptDropResult Function(
MhDragState dragState, List<T> droppedItems, T? targetItem)? onAcceptDrop;