ItemDragEndCallback typedef

ItemDragEndCallback = void Function(DragEndDetails details, int index)

A callback function that is called when dragging of an item ends.

The index parameter of the callback is the index of the item at the time it was dropped. Note: If the item is reordered, the index will reflect the new position where the item was dropped.

Implementation

typedef ItemDragEndCallback = void Function(DragEndDetails details, int index);