Tabs constructor
Tabs({
- Key? key,
- required List<
Widget> pages, - required IndexedTabBarItemBuilder tabBarItemBuilder,
- CustomIndicator? indicator,
- Axis direction = Axis.horizontal,
- bool pinned = false,
- int initialPage = 0,
- double tabbarHeight = 50,
- double? tabbarWidth,
Implementation
Tabs({
Key? key,
required this.pages,
required this.tabBarItemBuilder,
this.indicator,
this.direction = Axis.horizontal,
this.pinned = false,
this.initialPage = 0,
this.tabbarHeight = 50,
this.tabbarWidth,
}) : assert(pinned == false || (pinned == true && tabbarWidth != null)),
super(key: key);