controller property

CupertinoTabController controller
final

Controls the currently selected tab index of the tabBar, as well as the active tab index of the tabBuilder. Providing a different controller will also update the scaffold's current active index to the new controller's index value.

Defaults to null.

Implementation

final CupertinoTabController controller