TagConfig class

标签配置类

Inheritance

Constructors

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

Properties

commonConfig → BaseCommonConfig
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 → BaseTextStyle
no setter
tagBackgroundColor Color
no setter
tagHeight double
no setter
tagMinWidth double
no setter
tagRadius double
no setter
tagTextStyle → BaseTextStyle
no setter
tagWidth double
no setter

Methods

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