copyWith method
Returns a copy with selected values replaced.
Implementation
KLineInfoStyle copyWith({
Color? backgroundColor,
TextStyle? textStyle,
}) {
return KLineInfoStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
textStyle: textStyle ?? this.textStyle,
);
}