Skip to content

Commit

Permalink
Update handle_animations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LIZA1608 authored and imaNNeo committed Dec 25, 2023
1 parent 2482719 commit 4c1c27a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions repo_files/documentations/handle_animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ LineChart(
##### How to disable

If you want to disable the animations, you can set `Duration.zero` as `swapAnimationDuration`.
```dart
LineChart(
swapAnimationDuration: Duration.zero,
LineChartData(
// Your chart data here
),
)

0 comments on commit 4c1c27a

Please sign in to comment.