onTabChange property
final
Callback function for whenever the tab is changed.
Returns the index of the selected tab.
Implementation
final void Function(int)? onTabChange;
Callback function for whenever the tab is changed.
Returns the index of the selected tab.
final void Function(int)? onTabChange;