copyFrom method
Implementation
@override
AntdSearchBarStyle copyFrom(covariant AntdSearchBarStyle? style) {
return AntdSearchBarStyle(
bodyStyle: bodyStyle.merge(style?.bodyStyle),
bodyRowStyle: bodyRowStyle.merge(style?.bodyRowStyle),
activeBodyStyle: activeBodyStyle.mergeActive(
bodyStyle, style?.bodyStyle, style?.activeBodyStyle),
inputStyle: inputStyle.merge(style?.inputStyle),
iconStyle: iconStyle.merge(style?.iconStyle),
extraStyle: extraStyle.merge(style?.extraStyle),
placeholder: style?.placeholder ?? placeholder,
placeholderRowStyle:
placeholderRowStyle.merge(style?.placeholderRowStyle),
);
}