onTabSelected property

ValueChanged<int> onTabSelected
final

Called when a tab is selected.

Provides the index of the newly selected tab. Use this to update your state and switch between pages.

Implementation

final ValueChanged<int> onTabSelected;