OnDragUpdate typedef
Called when the position of the dragged widget changes.
dragIndex
is the index of the item that is dragged.
position
is the current position of the pointer in the
global coordinate system. delta
is the offset of the current
position relative to the position of the last drag update call.
Implementation
typedef OnDragUpdate = void Function(
int dragIndex, Offset position, Offset delta);