ItemDragEndCallback typedef
A callback function that is called when dragging of an item ends.
The index parameter of the callback is the index of the dragged item.
Implementation
typedef ItemDragEndCallback = void Function(DragEndDetails details, int index);