Flutter 106 by Scott Stoll

There are lots of ways Flutter makes it easy to create animations, from basic Tweens to Implicit Animations that are built right into the framework. And if those don’t fit your needs then there are third party solutions that do nearly anything you can imagine. From rotations to fades, size transitions and even animations where one Widget flies from one page to another, Flutter makes it easy!

But easy can sometimes be almost too easy. Don’t make the mistake of deciding on the approach that is easiest, without bothering to look at how it works. Some things are more expensive than others and if you use one of those all over the place when something simpler would work just as well, then you could drag your app’s performance down to a crawl.

DnKAWaSh (DINK-a-wash): 1) Don’t Kill an Ant With a Sledgehammer

That’s an acronym they actually teach in some of the top engineering schools in the United States. Scary, isn’t it?

Something that could, potentially, be an example of trying to kill an ant with a sledgehammer is the overuse of AnimatedContainer. It might be very tempting to use it any time you need to animate a Container or make it appear that its children are animating, since it can do most anything.

#flutter #animations #flutter tutorial

Flutter Tutorial: Animations for Lazy People
1.85 GEEK