NestedTabBarView constructor
const
NestedTabBarView({
- Key? key,
- required List<
Widget> children, - TabController? controller,
- ScrollPhysics? physics,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
Creates a page view with one child per tab.
The length of children
must be the same as the controller
's length.
Implementation
const NestedTabBarView({
Key? key,
required this.children,
this.controller,
this.physics,
this.dragStartBehavior = DragStartBehavior.start,
}) : assert(children != null),
assert(dragStartBehavior != null),
super(key: key);