From 4c1c27abb766a29525494d720fd0ab6ed13afcaa Mon Sep 17 00:00:00 2001 From: LIZA1608 <78140921+LIZA1608@users.noreply.github.com> Date: Sun, 24 Dec 2023 22:41:15 +0530 Subject: [PATCH] Update handle_animations.md --- repo_files/documentations/handle_animations.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/repo_files/documentations/handle_animations.md b/repo_files/documentations/handle_animations.md index d7dca0c01..7f3519d18 100644 --- a/repo_files/documentations/handle_animations.md +++ b/repo_files/documentations/handle_animations.md @@ -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 + ), +) +