copyWith method
Returns a copy with the given fields replaced.
Implementation
BeuiCheckboxStyle copyWith({
Color? fillColor,
Color? markColor,
Color? borderColor,
double? size,
double? borderRadius,
}) {
return BeuiCheckboxStyle(
fillColor: fillColor ?? this.fillColor,
markColor: markColor ?? this.markColor,
borderColor: borderColor ?? this.borderColor,
size: size ?? this.size,
borderRadius: borderRadius ?? this.borderRadius,
);
}