merge method
Implementation
CheckBoxElementStyle merge(CheckBoxElementStyle mergeWith) {
return CheckBoxElementStyle(
labelStyle: labelStyle ?? mergeWith.labelStyle,
activeColor: activeColor ?? mergeWith.activeColor,
checkColor: checkColor ?? mergeWith.checkColor,
optionTextStyle: optionTextStyle ?? mergeWith.optionTextStyle,
width: width ?? mergeWith.width,
height: height ?? mergeWith.height,
background: background ?? mergeWith.background,
border: border ?? mergeWith.border,
borderRadius: borderRadius ?? mergeWith.borderRadius,
gradient: gradient ?? mergeWith.gradient,
);
}