CupertinoTabScaffold constructor

const CupertinoTabScaffold({Key key, @required CupertinoTabBar tabBar, @required IndexedWidgetBuilder tabBuilder })

Creates a layout for applications with a tab bar at the bottom.

The tabBar, tabBuilder and currentTabIndex arguments must not be null.

The currentTabIndex argument can be used to programmatically change the currently selected tab.

Implementation

const CupertinoTabScaffold({
  Key key,
  @required this.tabBar,
  @required this.tabBuilder,
}) : assert(tabBar != null),
     assert(tabBuilder != null),
     super(key: key);