BrnTagConfig class

标签配置类

Inheritance

Constructors

BrnTagConfig({BrnTextStyle? tagTextStyle, BrnTextStyle? selectTagTextStyle, double? tagRadius, Color? tagBackgroundColor, Color? selectedTagBackgroundColor, double? tagHeight, double? tagWidth, double? tagMinWidth, String configId = GLOBAL_CONFIG_ID})

Properties

commonConfig BrnCommonConfig
no setterinherited
configId String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTagBackgroundColor Color
no setter
selectTagTextStyle BrnTextStyle
no setter
tagBackgroundColor Color
no setter
tagHeight double
no setter
tagMinWidth double
no setter
tagRadius double
no setter
tagTextStyle BrnTextStyle
no setter
tagWidth double
no setter

Methods

copyWith({BrnTextStyle? textStyle, BrnTextStyle? selectTextStyle, double? radius, Color? backgroundColor, Color? selectedBackgroundColor, double? height, double? width, double? tagMinWidth}) BrnTagConfig
initThemeConfig(String configId, {BrnCommonConfig? currentLevelCommonConfig}) → void
部分代码示意如下:
override
initThemeConfigPersonal() → void
当自定义组件的配置时调用 根据自定义时传入的 configId 对配置字段打平
inherited
merge(BrnTagConfig? other) BrnTagConfig
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