like_button
like_button copied to clipboard
Can we start animation without onTap ?
i d'like to know if the animation is tied to the ontap or to the isLiked parameter ? I want to start the animation based on a boolean stored in the database. I tried to tie the isLiked parameter to a value from my database, but only the color of the icon changes, the animation is not triggered
i would be also interested to show an animation after page load
Same issue. Whenever the "isLiked" parameter is set, the animation stops working when going from "unlike" to "like".
you can use postFrameCallback to get controller or likeCountController do any thing you want , more detail see demo