copyWith method

SelectionConfig copyWith({
  1. BaseTextStyle? menuNormalTextStyle,
  2. BaseTextStyle? menuSelectedTextStyle,
  3. BaseTextStyle? tagTextStyle,
  4. BaseTextStyle? tagSelectedTextStyle,
  5. double? tagRadius,
  6. Color? tagBackgroundColor,
  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,
})

Implementation

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