GFTabBarView constructor

const GFTabBarView({
  1. Key? key,
  2. required List<Widget> children,
  3. required TabController? controller,
  4. ScrollPhysics? physics,
  5. double? height,
  6. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  7. Duration? tabScrollDuration,
})

Creates a page view with one child per tab. The length of children must be the same as the controller's length.

Implementation

const GFTabBarView({
  Key? key,
  required this.children,
  required this.controller,
  this.physics,
  this.height,
  this.dragStartBehavior = DragStartBehavior.start,
  this.tabScrollDuration,
}) : super(key: key);