GNTabBar constructor

GNTabBar({
  1. Key? key,
  2. List<TabItem>? tab,
  3. List<Widget>? tabView,
  4. bool? isScrollable,
  5. required TabController tabController,
  6. Widget? widgetBetweenTabAndTabView,
  7. double? tabHeight,
  8. EdgeInsetsGeometry? margin,
  9. EdgeInsetsGeometry? indicatorPadding,
  10. double? unselectedTextSize,
  11. String? unselectedTextFontFamily,
  12. Color? unselectedTextColor,
  13. Color? unselectedLabelColor,
  14. double? selectedTextSize,
  15. String? selectedTextFontFamily,
  16. Color? selectedTextColor,
  17. Color? indicatorColor,
  18. TabBarIndicatorSize? indicatorSize,
  19. Color? labelColor,
  20. ScrollPhysics? physics,
  21. void onTap(
    1. int
    )?,
  22. bool? useTabView = true,
  23. 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,
});