SelectionConfig constructor
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
Implementation
SelectionConfig({
BaseTextStyle? menuNormalTextStyle,
BaseTextStyle? menuSelectedTextStyle,
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,
}) : _menuNormalTextStyle = menuNormalTextStyle,
_menuSelectedTextStyle = menuSelectedTextStyle,
_tagNormalTextStyle = tagNormalTextStyle,
_tagSelectedTextStyle = tagSelectedTextStyle,
_tagRadius = tagRadius,
_tagNormalBackgroundColor = tagNormalBackgroundColor,
_tagSelectedBackgroundColor = tagSelectedBackgroundColor,
_hintTextStyle = hintTextStyle,
_rangeTitleTextStyle = rangeTitleTextStyle,
_inputTextStyle = inputTextStyle,
_itemNormalTextStyle = itemNormalTextStyle,
_itemSelectedTextStyle = itemSelectedTextStyle,
_itemBoldTextStyle = itemBoldTextStyle,
_deepNormalBgColor = deepNormalBgColor,
_deepSelectBgColor = deepSelectBgColor,
_middleNormalBgColor = middleNormalBgColor,
_middleSelectBgColor = middleSelectBgColor,
_lightNormalBgColor = lightNormalBgColor,
_lightSelectBgColor = lightSelectBgColor,
_resetTextStyle = resetTextStyle,
_titleForMoreTextStyle = titleForMoreTextStyle,
_optionTextStyle = optionTextStyle,
_moreTextStyle = moreTextStyle,
_flayerNormalTextStyle = flayerNormalTextStyle,
_flayerSelectedTextStyle = flayerSelectedTextStyle,
_flayerBoldTextStyle = flayerBoldTextStyle,
super(configId: configId);