GNTabBar constructor
GNTabBar({
- Key? key,
- List<
TabItem> ? tab, - List<
Widget> ? tabView, - bool? isScrollable,
- required TabController tabController,
- Widget? widgetBetweenTabAndTabView,
- double? tabHeight,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? indicatorPadding,
- double? unselectedTextSize,
- String? unselectedTextFontFamily,
- Color? unselectedTextColor,
- Color? unselectedLabelColor,
- double? selectedTextSize,
- String? selectedTextFontFamily,
- Color? selectedTextColor,
- Color? indicatorColor,
- TabBarIndicatorSize? indicatorSize,
- Color? labelColor,
- ScrollPhysics? physics,
- void onTap()?,
- bool? useTabView = true,
- Widget? tabViewWidget,
Implementation
GNTabBar({
super.key,
this.tab,
this.tabView,
this.isScrollable,
required this.tabController,
this.widgetBetweenTabAndTabView,
this.tabHeight,
this.margin,
this.indicatorPadding,
this.unselectedTextSize,
this.unselectedTextFontFamily,
this.unselectedTextColor,
this.unselectedLabelColor,
this.selectedTextSize,
this.selectedTextFontFamily,
this.selectedTextColor,
this.indicatorColor,
this.indicatorSize,
this.labelColor,
this.physics,
this.onTap,
this.useTabView = true,
this.tabViewWidget,
});