GeekAbdelouahed / flutter-reaction-button

Flutter Reaction Button is a customizable Flutter package that allows you to easily create interactive buttons with reaction emojis, similar to Facebook's iconic reaction buttons.
https://pub.dev/packages/flutter_reaction_button
MIT License
215 stars 78 forks source link

Please provide better descriptions - confusing how to unset pervious state #12

Closed bartonhammond closed 3 years ago

bartonhammond commented 3 years ago

what is isChecked param? Why do I need it? what is initialReaction param? what is selectedReaction param?

How are they used together?

How do I set an initial value from the db? How do I unset the value? What tells me that the user deselected?

Also, on onReactionChanged: (reaction, isChecked) the param isChecked never has a value.

bartonhammond commented 3 years ago

My bad - i was using a Debouncer incorrectly.