From e755b8c9f002704e1288a3c0385f092a657c980b Mon Sep 17 00:00:00 2001 From: leesam Date: Wed, 29 Nov 2023 11:40:20 +0900 Subject: [PATCH] fix: Replace animation of AnimationBuilder with controller --- Chapter11/animation_example/lib/secondPage.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter11/animation_example/lib/secondPage.dart b/Chapter11/animation_example/lib/secondPage.dart index f591876..9d677e8 100644 --- a/Chapter11/animation_example/lib/secondPage.dart +++ b/Chapter11/animation_example/lib/secondPage.dart @@ -43,7 +43,7 @@ class _SecondPage extends State child: Column( children: [ AnimatedBuilder( - animation: _rotateAnimation!, + animation: _animationController!, builder: (context, widget) { return Transform.translate( offset: _transAnimation!.value,