A callback function that will be triggered whenever a MoltenTab is clicked, and will return it's index.
final Function(int index) onTabChange;