From bb2a5e46bc4b026a92740f33f2b3367e6e52c9b9 Mon Sep 17 00:00:00 2001 From: Osama Date: Tue, 2 Jan 2024 15:25:51 +0800 Subject: [PATCH] add a missing field to copy with (ChartAxisConfig) --- lib/src/models/chart_axis_config.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/models/chart_axis_config.dart b/lib/src/models/chart_axis_config.dart index 3939374aa..59b439887 100644 --- a/lib/src/models/chart_axis_config.dart +++ b/lib/src/models/chart_axis_config.dart @@ -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, ); }