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

Count animation is not working when called from state. #76

Open rafaelmaia8384 opened 1 year ago

rafaelmaia8384 commented 1 year ago

I am using the state of the widget to trigger the animation from another location in the app, but the animation that controls the number of likes is not working.

if (_readerState != null) {
    _readerState!.controller?.forward();
    _readerState!.likeCountController?.forward();
}
zmtzawqlp commented 1 year ago

it's just for the animation , and not the value