onUpdatedDraggedChild property

ItemCallback? onUpdatedDraggedChild
final

Called when the dragged child has updated his position while dragging.

index is the new position of the dragged child. While this callback you should not update your children by yourself to ensure a correct behavior while dragging.

Implementation

final ItemCallback? onUpdatedDraggedChild;