Event that will be triggered when the tab is reorder.
typedef OnReorder = void Function(int oldIndex, int newIndex);