RestorableCupertinoTabController constructor
- int initialIndex = 0,
Creates a RestorableCupertinoTabController to control the tab index of CupertinoTabScaffold and CupertinoTabBar.
The initialIndex
defaults to zero. The value must be greater than or
equal to zero, and less than the total number of tabs.
Implementation
RestorableCupertinoTabController({ int initialIndex = 0 })
: assert(initialIndex >= 0),
_initialIndex = initialIndex;