copyWith method
Returns a copy with selected values replaced.
Implementation
KLineCrosshairStyle copyWith({
Color? color,
double? strokeWidth,
}) {
return KLineCrosshairStyle(
color: color ?? this.color,
strokeWidth: strokeWidth ?? this.strokeWidth,
);
}