ItemDragUpdateCallback typedef
A callback function that is called when dragging of an item is updated.
The index parameter of the callback is the index of the dragged item.
Note: If the item is reordered, the index will be updated accordingly.
Implementation
typedef ItemDragUpdateCallback = void Function(
DragUpdateDetails details, int index);