onTabChange property

(void Function(int)?) onTabChange
final

Callback function for whenever the tab is changed.

Returns the index of the selected tab.

Implementation

final void Function(int)? onTabChange;