Snapshot dont get updated ? #6198
Unanswered
userdontknow
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a problem with my snapshot . Im using a streambuilder on one page and the snapshot in another but the snapshot dont gets updated . I cannot figure out why . This is first where I declare the stream
And then using the snapshot in the commentswidget
So as you can I call the callback to liked a post when user press the star icon. And that works fine but displaying the star in yellow if the user liked the video does not work correctly . This is only working when I leave the page and come back then I get the correct data . And thats the only case for what im using the snapshot . Hope anyone can help if you need more information please leave a comment
Heres the pubsec
Beta Was this translation helpful? Give feedback.
All reactions