BrnTabBarConfig class
TabBar配置类
- Inheritance
-
- Object
- BrnBaseConfig
- BrnTabBarConfig
Constructors
- BrnTabBarConfig({double? tabHeight, double? indicatorHeight, double? indicatorWidth, BrnTextStyle? labelStyle, BrnTextStyle? unselectedLabelStyle, Color? backgroundColor, BrnTextStyle? tagNormalTextStyle, Color? tagNormalBgColor, BrnTextStyle? tagSelectedTextStyle, Color? tagSelectedBgColor, double? tagRadius, double? tagSpacing, int? preLineTagCount, double? tagHeight, String configId = GLOBAL_CONFIG_ID})
-
遵循外部主题配置
默认为
BrnDefaultConfigUtils.tabBarConfig
Properties
- backgroundColor → Color
-
no setter
- commonConfig → BrnCommonConfig
-
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 → BrnTextStyle
-
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 → BrnTextStyle
-
no setter
- tagRadius → double
-
no setter
- tagSelectedBgColor → Color
-
no setter
- tagSelectedTextStyle → BrnTextStyle
-
no setter
- tagSpacing → double
-
no setter
- unselectedLabelStyle → BrnTextStyle
-
no setter
Methods
-
copyWith(
{double? tabHeight, double? indicatorHeight, double? indicatorWidth, BrnTextStyle? labelStyle, BrnTextStyle? unselectedLabelStyle, Color? backgroundColor, BrnTextStyle? tagNormalTextStyle, Color? tagNormalColor, BrnTextStyle? tagSelectedTextStyle, Color? tagSelectedColor, double? tagRadius, double? tagSpacing, int? preLineTagSize, double? tagHeight}) → BrnTabBarConfig -
initThemeConfig(
String configId, {BrnCommonConfig? currentLevelCommonConfig}) → void -
部分代码示意如下:
override
-
initThemeConfigPersonal(
) → void -
当自定义组件的配置时调用
根据自定义时传入的 configId 对配置字段打平
inherited
-
merge(
BrnTabBarConfig? other) → BrnTabBarConfig -
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