ExtendedTabBarView constructor

const ExtendedTabBarView({
  1. Key? key,
  2. required List<Widget> children,
  3. TabController? controller,
  4. ScrollPhysics? physics,
  5. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  6. int cacheExtent = 0,
  7. bool link = true,
  8. Axis scrollDirection = Axis.horizontal,
  9. LinkPageController? pageController,
  10. bool shouldIgnorePointerWhenScrolling = true,
  11. 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);