File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
animations/lib/src/basics Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class _AnimatedContainerDemoState extends State<AnimatedContainerDemo> {
60
60
color: color,
61
61
borderRadius: BorderRadius .circular (borderRadius),
62
62
),
63
- duration: Duration (milliseconds: 400 ),
63
+ duration: const Duration (milliseconds: 400 ),
64
64
),
65
65
),
66
66
),
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class _AnimationControllerDemoState extends State<AnimationControllerDemo>
28
28
29
29
controller = AnimationController (vsync: this , duration: _duration)
30
30
// The Widget's build needs to be called every time the animation's
31
- // value changes. So add an listener here that will call setState()
31
+ // value changes. So add a listener here that will call setState()
32
32
// and trigger the build() method to be called by the framework.
33
33
// If your Widget's build is relatively simple, this is a good option.
34
34
// However, if your build method returns a tree of child Widgets and
You can’t perform that action at this time.
0 commit comments