favorite_button 0.0.1

Flutter Android iOS web

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 #

parameterdescriptiondefault
iconSizesize of button widget60.0
iconColorcolor of button widgetred for heart and yellow for star button respectively
valueChangedFunction that returns boolean value for current state of buttonThis is a required parameter

more detail

1
likes
100
pub points
28%
popularity

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

Documentation

API reference

Uploader

vishalkevin11@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on favorite_button