Home > Mobile >  Flutter Icon Animation
Flutter Icon Animation

Time:03-22

I am new to flutter design. So I have a question about Icons Animations. I've created IconButton in flutter application with star:

IconButton(color: _isFavourite
           ? Theme.of(context).primaryColor
           : Colors.grey[600],
           onPressed: () => changeFavourites(),
           icon: Icon(Icons.star)),

When user clicks the button, star changes color. Just changes it, and nothing more. The question is: can I somehow make this changing color transition more interesting? Like more smooth or something like this Maybe there is a package to create such a icons animations?
Thanks

CodePudding user response:

While this is about animating Color, you can use Output

  • Related