Called when a tab is dragged to a new place.
final void Function(int oldIndex, int newIndex)? onReorder;