Open rabinacharya11 opened 1 year ago
a simple runnable demo will better
I custom-coded the features I wanted. I didn't have a demo video
but here is how it breaks :
LikeButton( onTap: onLikeButtonTapped, ),
` Future<bool> onLikeButtonTapped(bool isLiked) async{
/// send your request here
// final bool success= await sendRequest();
///. When i added another request in this function whole lists of the posts started acting wried!
/// if failed, you can do nothing
// return success? !isLiked:isLiked;
return !isLiked;
}`
if your request is slow, maybe you should not await it
That's when the package gives a lot of errors
The package will not work the way it is expected to work when 2 request. for eg : likePost() refreshFeeds()
are sent