copyWith method
Creates a copy with modified values.
Implementation
TickConfig copyWith({
double? tickLength,
double? tickPadding,
double? tickStrokeWidth,
Color? tickColor,
}) {
return TickConfig(
tickLength: tickLength ?? this.tickLength,
tickPadding: tickPadding ?? this.tickPadding,
tickStrokeWidth: tickStrokeWidth ?? this.tickStrokeWidth,
tickColor: tickColor ?? this.tickColor,
);
}