From 2802095104d486acc594a4eabfb130be19d4ce0f Mon Sep 17 00:00:00 2001 From: dev-aentgs <65178249+dev-aentgs@users.noreply.github.com> Date: Tue, 9 Jun 2020 01:12:58 +0530 Subject: [PATCH] Update animation.dart (#58971) --- packages/flutter/lib/animation.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/animation.dart b/packages/flutter/lib/animation.dart index b1424881fd..88bec71868 100644 --- a/packages/flutter/lib/animation.dart +++ b/packages/flutter/lib/animation.dart @@ -131,8 +131,8 @@ /// another. For example, let's say you want to animate the background of a /// widget from yellow to green and then, after a short pause, to red. For this /// you can specify three tweens within a tween sequence: One [ColorTween] -/// animating from blue to green, one [ConstantTween] that just holds the color -/// green, and another [ColorTween] animating from green to yellow. For each +/// animating from yellow to green, one [ConstantTween] that just holds the color +/// green, and another [ColorTween] animating from green to red. For each /// tween you need to pick a weight indicating the ratio of time spent on that /// tween compared to all other tweens. If we assign a weight of 2 to both of /// the [ColorTween]s and a weight of 1 to the [ConstantTween] the transition