TTabBarConfig constructor
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,
遵循外部主题配置
默认为 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;