Apps are boring! Of course, only until you add good looking animations into them. Since Flutter renders everything to the screen itself without relying on those pesky native views, you can animate literally everything. As they say though, with great power comes great… confusion? In this tutorial, we will dispell this fog surrounding custom animations and you will finally gain clarity in this matter.
Much of the aforementioned confusion stems from the fact that there are many ways to do the same thing. Repeatedly calling setState in a StatefulWidget? Possible. What about extending an AnimatedWidget? Oh, and what’s that AnimatedBuilder all about? Let’s take a look at them one by one. All of them will be demonstrated on a rotation animation.