fav_button

Last updated:

0 purchases

fav_button Image
fav_button Images
Add to Cart

Description:

fav button

Favorite Button is a flutter library that allows you to create heart and star shaped favorite featured buttons with animation effects too.
Omar Nasser #




How to use it. #
the default effects is Icons.favorite
FavoriteButton(
valueChanged: (_) {
},
),
copied to clipboard
and you can also define custom effects.
FavoriteButton(
valueChanged: (_isFavorite) {
print('Is Favorite $_isFavorite)');
},
)
copied to clipboard
parameters #



parameter
description
default




icon
Icon
60.0


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


isFavorite or isStarred
Default state of button
This is a optional parameter

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.