SelectionConfig class
筛选项 配置类
- Inheritance
-
- Object
- BaseConfig
- SelectionConfig
Constructors
- SelectionConfig({BaseTextStyle? tagNormalTextStyle, BaseTextStyle? tagSelectedTextStyle, double? tagRadius, Color? tagNormalBackgroundColor, Color? tagSelectedBackgroundColor, BaseTextStyle? hintTextStyle, BaseTextStyle? rangeTitleTextStyle, BaseTextStyle? inputTextStyle, BaseTextStyle? itemNormalTextStyle, BaseTextStyle? itemSelectedTextStyle, BaseTextStyle? itemBoldTextStyle, Color? deepNormalBgColor, Color? deepSelectBgColor, Color? middleNormalBgColor, Color? middleSelectBgColor, Color? lightNormalBgColor, Color? lightSelectBgColor, BaseTextStyle? resetTextStyle, BaseTextStyle? titleForMoreTextStyle, BaseTextStyle? optionTextStyle, BaseTextStyle? moreTextStyle, BaseTextStyle? flayerNormalTextStyle, BaseTextStyle? flayerSelectedTextStyle, BaseTextStyle? flayerBoldTextStyle, String configId = GLOBAL_CONFIG_ID})
-
遵循外部主题配置
默认为
DefaultConfigUtils.defaultSelectionConfig
Properties
- commonConfig → BaseCommonConfig
-
no setterinherited
- configId → String
-
no setterinherited
- deepNormalBgColor → Color
-
no setter
- deepSelectBgColor → Color
-
no setter
- flayerBoldTextStyle → BaseTextStyle
-
no setter
- flayerNormalTextStyle → BaseTextStyle
-
no setter
- flayerSelectedTextStyle → BaseTextStyle
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintTextStyle → BaseTextStyle
-
no setter
- inputTextStyle → BaseTextStyle
-
no setter
- itemBoldTextStyle → BaseTextStyle
-
no setter
- itemNormalTextStyle → BaseTextStyle
-
no setter
- itemSelectedTextStyle → BaseTextStyle
-
no setter
- lightNormalBgColor → Color
-
no setter
- lightSelectBgColor → Color
-
no setter
-
no setter
-
no setter
- middleNormalBgColor → Color
-
no setter
- middleSelectBgColor → Color
-
no setter
- moreTextStyle → BaseTextStyle
-
no setter
- optionTextStyle → BaseTextStyle
-
no setter
- rangeTitleTextStyle → BaseTextStyle
-
no setter
- resetTextStyle → BaseTextStyle
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tagNormalBackgroundColor → Color
-
no setter
- tagNormalTextStyle → BaseTextStyle
-
no setter
- tagRadius → double
-
no setter
- tagSelectedBackgroundColor → Color
-
no setter
- tagSelectedTextStyle → BaseTextStyle
-
no setter
- titleForMoreTextStyle → BaseTextStyle
-
no setter
Methods
-
copyWith(
{BaseTextStyle? tagTextStyle, BaseTextStyle? tagSelectedTextStyle, double? tagRadius, Color? tagBackgroundColor, Color? tagSelectedBackgroundColor, BaseTextStyle? hintTextStyle, BaseTextStyle? rangeTitleTextStyle, BaseTextStyle? inputTextStyle, BaseTextStyle? itemNormalTextStyle, BaseTextStyle? itemSelectedTextStyle, BaseTextStyle? itemBoldTextStyle, Color? deepNormalBgColor, Color? deepSelectBgColor, Color? middleNormalBgColor, Color? middleSelectBgColor, Color? lightNormalBgColor, Color? lightSelectBgColor, BaseTextStyle? resetTextStyle, BaseTextStyle? titleForMoreTextStyle, BaseTextStyle? optionTextStyle, BaseTextStyle? moreTextStyle, BaseTextStyle? flayerNormalTextStyle, BaseTextStyle? flayerSelectedTextStyle, BaseTextStyle? flayerBoldTextStyle}) → SelectionConfig -
initThemeConfig(
String configId, {BaseCommonConfig? currentLevelCommonConfig}) → void -
部分代码示意如下:
override
-
initThemeConfigPersonal(
) → void -
当自定义组件的配置时调用
根据自定义时传入的
configId
对配置字段打平inherited -
merge(
SelectionConfig other) → SelectionConfig -
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