avoidConflictingMoves method
void
avoidConflictingMoves(
- _Item? target
Implementation
void avoidConflictingMoves(_Item? target) {
_itemTranslations.forEach((key, controller) {
final item = _itemBoxes[key];
if (item != dragItem && item != target) {
if (item!.index! < target!.index!) {
controller.reverse();
} else {
controller.forward();
}
}
});
}