Challenge: Beating Heart
Explore how to build a forever-repeating animation for a heart icon in Flutter. Learn to implement AnimationController with Tween for size transformation, manage animation lifecycle with TickerProviderStateMixin, and dispose resources properly. This lesson guides you through animating an icon to simulate a beating heart effect, enhancing your Flutter UI skills.
In this lesson, you’ll work on a challenge that will test your understanding of animations.
Goal
Understand how to create a forever-repeating animation.
Specs
The heart icon should animate in size from small, size 16, to large, size 24, to small again continuously.
Starter code
Before beginning the challenge, you can look ...