TTabBarConfig constructor

TTabBarConfig({
  1. double? tabHeight,
  2. double? indicatorHeight,
  3. double? indicatorWidth,
  4. TextStyle? labelStyle,
  5. TextStyle? unselectedLabelStyle,
  6. Color? backgroundColor,
  7. TextStyle? tagNormalTextStyle,
  8. Color? tagNormalBgColor,
  9. TextStyle? tagSelectedTextStyle,
  10. Color? tagSelectedBgColor,
  11. double? tagRadius,
  12. double? tagSpacing,
  13. int? preLineTagCount,
  14. double? tagHeight,
})

遵循外部主题配置 默认为 BrnDefaultConfigUtils.tabBarConfig

Implementation

TTabBarConfig({
  double? tabHeight,
  double? indicatorHeight,
  double? indicatorWidth,
  TextStyle? labelStyle,
  TextStyle? unselectedLabelStyle,
  Color? backgroundColor,
  TextStyle? tagNormalTextStyle,
  Color? tagNormalBgColor,
  TextStyle? tagSelectedTextStyle,
  Color? tagSelectedBgColor,
  double? tagRadius,
  double? tagSpacing,
  int? preLineTagCount,
  double? tagHeight,
})  : _tabHeight = tabHeight,
      _indicatorHeight = indicatorHeight,
      _indicatorWidth = indicatorWidth,
      _labelStyle = labelStyle,
      _unselectedLabelStyle = unselectedLabelStyle,
      _backgroundColor = backgroundColor,
      _tagNormalTextStyle = tagNormalTextStyle,
      _tagNormalBgColor = tagNormalBgColor,
      _tagSelectedTextStyle = tagSelectedTextStyle,
      _tagSelectedBgColor = tagSelectedBgColor,
      _tagRadius = tagRadius,
      _tagSpacing = tagSpacing,
      _preLineTagCount = preLineTagCount,
      _tagHeight = tagHeight;