fluttercandies / like_button

Like Button is a flutter library that allows you to create a button with animation effects similar to Twitter's heart when you like something and animation effects to increase like count.
MIT License
469 stars 96 forks source link

Can't add Parameters in onTap #39

Closed abdelrahmanelmarakby closed 4 years ago

abdelrahmanelmarakby commented 4 years ago

I want to pass the productID as a parameter to the function but don't know how to do that as the on tap expecting bool isLiked only

zmtzawqlp commented 4 years ago

https://github.com/fluttercandies/like_button/issues/23