TabBarView constructor

const TabBarView({Key key, @required List<Widget> children, TabController controller, ScrollPhysics physics })

Creates a page view with one child per tab.

The length of children must be the same as the controller's length.

Implementation

const TabBarView({
  Key key,
  @required this.children,
  this.controller,
  this.physics,
}) : assert(children != null), super(key: key);