BaseTabBarConfig constructor

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

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

Implementation

BaseTabBarConfig({
  double? tabHeight,
  double? indicatorHeight,
  double? indicatorWidth,
  BaseTextStyle? labelStyle,
  BaseTextStyle? unselectedLabelStyle,
  Color? backgroundColor,
  BaseTextStyle? tagNormalTextStyle,
  Color? tagNormalBgColor,
  BaseTextStyle? tagSelectedTextStyle,
  Color? tagSelectedBgColor,
  double? tagRadius,
  double? tagSpacing,
  int? preLineTagCount,
  double? tagHeight,
  String configId = GLOBAL_CONFIG_ID,
})  : _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,
      super(configId: configId);