ItemDragStartCallback typedef

ItemDragStartCallback = void Function(DragStartDetails details, int index)

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

The index parameter of the callback is the index of the dragged item.

Implementation

typedef ItemDragStartCallback = void Function(
    DragStartDetails details, int index);