Skip to content

Commit

Permalink
add a missing field to copy with (ChartAxisConfig)
Browse files Browse the repository at this point in the history
  • Loading branch information
osama-deriv committed Jan 2, 2024
1 parent 6ded98a commit bb2a5e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/models/chart_axis_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ class ChartAxisConfig {
ChartAxisConfig copyWith({
double? initialTopBoundQuote,
double? initialBottomBoundQuote,
double? maxCurrentTickOffset,
}) =>
ChartAxisConfig(
initialTopBoundQuote: initialTopBoundQuote ?? this.initialTopBoundQuote,
initialBottomBoundQuote:
initialBottomBoundQuote ?? this.initialBottomBoundQuote,
maxCurrentTickOffset: maxCurrentTickOffset ?? this.maxCurrentTickOffset,
);
}

0 comments on commit bb2a5e4

Please sign in to comment.