merge method
Implementation
SelectionConfig merge(SelectionConfig other) {
return copyWith(
menuNormalTextStyle:
menuNormalTextStyle.merge(other._menuNormalTextStyle),
menuSelectedTextStyle:
menuSelectedTextStyle.merge(other._menuSelectedTextStyle),
tagTextStyle: tagNormalTextStyle.merge(other._tagNormalTextStyle),
tagSelectedTextStyle:
tagSelectedTextStyle.merge(other._tagSelectedTextStyle),
tagRadius: other._tagRadius,
tagBackgroundColor: other._tagNormalBackgroundColor,
tagSelectedBackgroundColor: other._tagSelectedBackgroundColor,
hintTextStyle: hintTextStyle.merge(other._hintTextStyle),
rangeTitleTextStyle:
rangeTitleTextStyle.merge(other._rangeTitleTextStyle),
inputTextStyle: inputTextStyle.merge(other._inputTextStyle),
itemNormalTextStyle:
itemNormalTextStyle.merge(other._itemNormalTextStyle),
itemSelectedTextStyle:
itemSelectedTextStyle.merge(other._itemSelectedTextStyle),
itemBoldTextStyle: itemBoldTextStyle.merge(other._itemBoldTextStyle),
deepNormalBgColor: other._deepNormalBgColor,
deepSelectBgColor: other._deepSelectBgColor,
middleNormalBgColor: other._middleNormalBgColor,
middleSelectBgColor: other._middleSelectBgColor,
lightNormalBgColor: other._lightNormalBgColor,
lightSelectBgColor: other._lightSelectBgColor,
resetTextStyle: resetTextStyle.merge(other._resetTextStyle),
titleForMoreTextStyle:
titleForMoreTextStyle.merge(other._titleForMoreTextStyle),
optionTextStyle: optionTextStyle.merge(other._optionTextStyle),
moreTextStyle: moreTextStyle.merge(other._moreTextStyle),
flayerNormalTextStyle:
flayerNormalTextStyle.merge(other._flayerNormalTextStyle),
flayerSelectedTextStyle:
flayerSelectedTextStyle.merge(other._flayerSelectedTextStyle),
flayerBoldTextStyle:
flayerBoldTextStyle.merge(other._flayerBoldTextStyle),
);
}