SelectionConfig constructor

SelectionConfig({
  1. BaseTextStyle? menuNormalTextStyle,
  2. BaseTextStyle? menuSelectedTextStyle,
  3. BaseTextStyle? tagNormalTextStyle,
  4. BaseTextStyle? tagSelectedTextStyle,
  5. double? tagRadius,
  6. Color? tagNormalBackgroundColor,
  7. Color? tagSelectedBackgroundColor,
  8. BaseTextStyle? hintTextStyle,
  9. BaseTextStyle? rangeTitleTextStyle,
  10. BaseTextStyle? inputTextStyle,
  11. BaseTextStyle? itemNormalTextStyle,
  12. BaseTextStyle? itemSelectedTextStyle,
  13. BaseTextStyle? itemBoldTextStyle,
  14. Color? deepNormalBgColor,
  15. Color? deepSelectBgColor,
  16. Color? middleNormalBgColor,
  17. Color? middleSelectBgColor,
  18. Color? lightNormalBgColor,
  19. Color? lightSelectBgColor,
  20. BaseTextStyle? resetTextStyle,
  21. BaseTextStyle? titleForMoreTextStyle,
  22. BaseTextStyle? optionTextStyle,
  23. BaseTextStyle? moreTextStyle,
  24. BaseTextStyle? flayerNormalTextStyle,
  25. BaseTextStyle? flayerSelectedTextStyle,
  26. BaseTextStyle? flayerBoldTextStyle,
  27. 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);