BaseTabBarConfig class

TabBar配置类

Inheritance
  • Object
  • BaseConfig
  • BaseTabBarConfig

Constructors

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

Properties

backgroundColor Color
no setter
commonConfig → BaseCommonConfig
no setterinherited
configId String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
indicatorHeight double
no setter
indicatorWidth double
no setter
labelStyle → BaseTextStyle
no setter
preLineTagCount int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabHeight double
no setter
tagHeight double
no setter
tagNormalBgColor Color
no setter
tagNormalTextStyle → BaseTextStyle
no setter
tagRadius double
no setter
tagSelectedBgColor Color
no setter
tagSelectedTextStyle → BaseTextStyle
no setter
tagSpacing double
no setter
unselectedLabelStyle → BaseTextStyle
no setter

Methods

copyWith({double? tabHeight, double? indicatorHeight, double? indicatorWidth, BaseTextStyle? labelStyle, BaseTextStyle? unselectedLabelStyle, Color? backgroundColor, BaseTextStyle? tagNormalTextStyle, Color? tagNormalColor, BaseTextStyle? tagSelectedTextStyle, Color? tagSelectedColor, double? tagRadius, double? tagSpacing, int? preLineTagSize, double? tagHeight}) BaseTabBarConfig
initThemeConfig(String configId, {BaseCommonConfig? currentLevelCommonConfig}) → void
部分代码示意如下:
override
initThemeConfigPersonal() → void
当自定义组件的配置时调用 根据自定义时传入的 configId 对配置字段打平
inherited
merge(BaseTabBarConfig? other) BaseTabBarConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited