Skip to content
Articles
Article

animate_chain: chained Flutter animations without the lifecycle leaks

by Abdeldjalil Chougui dev.to

5 min read

Chained animation syntax made Flutter animations pleasant to write. Instead of a StatefulWidget, an AnimationController, a Tween and an AnimatedBuilder, you write widget.animate().fadeIn().slideY() and move on. flutter_animate made this style popular. The style has a cost when the lifecycle is not handled carefully. The animate_chain README lists the issues it found in flutter_animate 4.5.2, each…

Forum

Questions about this, or something to add?

Discuss on the forum

Topics Animations

Report this · Wrote this? Claim it

FlutterX is supported by