merge method
Implementation
BaseTabBarConfig merge(BaseTabBarConfig? other) {
if (other == null) return this;
return copyWith(
tabHeight: other._tabHeight,
indicatorHeight: other._indicatorHeight,
indicatorWidth: other._indicatorWidth,
labelStyle: labelStyle.merge(other._labelStyle),
unselectedLabelStyle:
unselectedLabelStyle.merge(other._unselectedLabelStyle),
backgroundColor: other._backgroundColor,
tagNormalTextStyle: tagNormalTextStyle.merge(other._tagNormalTextStyle),
tagNormalColor: other._tagNormalBgColor,
tagSelectedTextStyle:
tagSelectedTextStyle.merge(other._tagSelectedTextStyle),
tagSelectedColor: other._tagSelectedBgColor,
tagRadius: other._tagRadius,
tagSpacing: other._tagSpacing,
preLineTagSize: other._preLineTagCount,
tagHeight: other._tagHeight,
);
}