ExtendedTabBarView constructor
const
ExtendedTabBarView({
- Key? key,
- required List<
Widget> children, - TabController? controller,
- ScrollPhysics? physics,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- int cacheExtent = 0,
- bool link = true,
- Axis scrollDirection = Axis.horizontal,
- LinkPageController? pageController,
- bool shouldIgnorePointerWhenScrolling = true,
- double viewportFraction = 1.0,
Creates a page view with one child per tab.
The length of children must be the same as the controller's length.
Implementation
const ExtendedTabBarView({
Key? key,
required this.children,
this.controller,
this.physics,
this.dragStartBehavior = DragStartBehavior.start,
this.cacheExtent = 0,
this.link = true,
this.scrollDirection = Axis.horizontal,
this.pageController,
this.shouldIgnorePointerWhenScrolling = true,
this.viewportFraction = 1.0,
}) : super(key: key);