i have a dragtarget and multiple draggables. I was able to successfully drop the draggable to the dragtarget. But when a new draggable hovers over the placed dragtarget it removes the already placed on the dragtarget?.I've tried using ignorepointer. im not getting the desired output.
onWillAccept: (data) {
return data ==
controller.options[controller
.selectedAnserIndex]; // assigning data
},
onAccept: (data) {
controller.updateDropped(
controller.isDropped); // updating a bool to fix the drag target
controller.updateIndexOfBlank(index);
},
onLeave: (data) {
controller.updateDropped(false); // on leave making it make it false
},