favorite_button 0.0.1 copy "favorite_button: ^0.0.1" to clipboard
favorite_button: ^0.0.1 copied to clipboard

outdated

favorite_button is a flutter library that allows you to create heart and star shaped favorite featured buttons with animation effects too.

favorite_button #

How to use it. #

the default effects is Icons.favorite

  FavoriteButton(
            valueChanged: (_) {
            },
          ),

and you can also define custom effects.

 FavoriteButton(
            valueChanged: (_isFavorite) {
              print('Is Favorite $_isFavorite)');
            },
          )

parameters #

parameter description default
iconSize size of button widget 60.0
iconColor color of button widget red for heart and yellow for star button respectively
valueChanged Function that returns boolean value for current state of button This is a required parameter

more detail

62
likes
0
pub points
92%
popularity

Publisher

verified publishercodeokplease.com

favorite_button is a flutter library that allows you to create heart and star shaped favorite featured buttons with animation effects too.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on favorite_button