copyFrom method
Implementation
@override
AntdSegmentedStyle copyFrom(covariant AntdSegmentedStyle? style) {
return AntdSegmentedStyle(
bodyStyle: bodyStyle.merge(style?.bodyStyle),
bodyRowStyle: bodyRowStyle.merge(style?.bodyRowStyle),
itemStyle: itemStyle.merge(style?.itemStyle),
activeItemStyle: activeItemStyle.mergeActive(
itemStyle, style?.itemStyle, style?.activeItemStyle),
);
}