merge method
Implementation
SingleSelectStyle merge(SingleSelectStyle mergeWith) {
return SingleSelectStyle(
labelStyle: labelStyle ?? mergeWith.labelStyle,
selectedOptionTextStyle:
selectedOptionTextStyle ?? mergeWith.selectedOptionTextStyle,
optionTextStyle: optionTextStyle ?? mergeWith.optionTextStyle,
selectedOptionBackground:
selectedOptionBackground ?? mergeWith.selectedOptionBackground,
optionBackground: optionBackground ?? mergeWith.optionBackground,
width: width ?? mergeWith.width,
height: height ?? mergeWith.height,
background: background ?? mergeWith.background,
border: border ?? mergeWith.border,
borderRadius: borderRadius ?? mergeWith.borderRadius,
gradient: gradient ?? mergeWith.gradient,
);
}