GFSegmentTabs constructor
      const
      GFSegmentTabs({ 
    
- Key? key,
- required int? length,
- required List<Widget> tabs,
- required TabController? tabController,
- double? height,
- double? width,
- Border? border,
- BorderRadius? borderRadius,
- Color? tabBarColor,
- Color? indicatorColor,
- double indicatorWeight = 2.0,
- EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
- Decoration? indicator,
- TabBarIndicatorSize? indicatorSize,
- Color? labelColor,
- TextStyle? labelStyle,
- EdgeInsetsGeometry? labelPadding,
- Color? unselectedLabelColor,
- TextStyle? unselectedLabelStyle,
Creates pills like structured tab bar. See GFTabBar GFSegmentTabs are best used as an alternative for GFTabBar.
Implementation
const GFSegmentTabs({
  Key? key,
  required this.length,
  required this.tabs,
  required this.tabController,
  this.height,
  this.width,
  this.border,
  this.borderRadius,
  this.tabBarColor,
  this.indicatorColor,
  this.indicatorWeight = 2.0,
  this.indicatorPadding = EdgeInsets.zero,
  this.indicator,
  this.indicatorSize,
  this.labelColor,
  this.labelStyle,
  this.labelPadding,
  this.unselectedLabelColor,
  this.unselectedLabelStyle,
})  : assert(length != null && length >= 0),
      super(key: key);