Skip to content

Commit

Permalink
Add initializations for drag feature callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
G33kFreak committed Oct 1, 2023
1 parent e9b9046 commit 77646e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/chart/line_chart/line_chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ class _LineChartState extends AnimatedWidgetBaseState<LineChart> {
_providedTouchCallback = lineTouchData.touchCallback;
_dragSpotUpdateFinishedCallback =
lineTouchData.dragSpotUpdateFinishedCallback;
_dragSpotUpdateCallback = lineTouchData.dragSpotUpdateCallback;
_dragSpotUpdateStartedCallback =
lineTouchData.dragSpotUpdateStartedCallback;
return widget.data.copyWith(
lineBarsData: _lineBarsData,
lineTouchData: widget.data.lineTouchData.copyWith(
Expand Down

0 comments on commit 77646e4

Please sign in to comment.