Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
fix(chart): swapAnimationDuration -> duration
Browse files Browse the repository at this point in the history
A breaking change of fl_chart.
  • Loading branch information
CCXXXI committed Jun 29, 2023
1 parent 67d16d0 commit a26a02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecg/chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Widget __chart(
if (isPortrait) Text(title),
Expanded(
child: LineChart(
swapAnimationDuration: Duration.zero, // disable animation
duration: Duration.zero, // disable animation
LineChartData(
minX: points.isEmpty
? null
Expand Down

0 comments on commit a26a02c

Please sign in to comment.