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