How to reduce AnimationController boilerplate code: Flutter Hooks vs extending the State class

preview_player
Показать описание
How to use Flutter Hooks or State subclassing to reduce your AnimationController boilerplate code.

Written tutorial: 👇👇

Want to master animations in Flutter? Check out my full animations course: 👇👇

Happy coding!
Рекомендации по теме
Комментарии
Автор

yes cool, just wanted to get rid of these long constructs for creating animation

crazy-man
Автор

That's all cool if you have one Animation controller, what if you have several. This pattern becomes unusable.

theGoldyMan