copyWith method
SelectionConfig
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,
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,
);
}