GFTabBarView constructor
const
GFTabBarView({
- Key? key,
- required List<
Widget> children, - required TabController? controller,
- ScrollPhysics? physics,
- double? height,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- 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);