Replies: 3 comments
-
Please show how you setting and getting data from riverpod provider |
Beta Was this translation helpful? Give feedback.
0 replies
-
The question is relevant. I tried Stream, Future, but they behave the same. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This creates a stream with one emission that is the same as the future. It would help if you got a stream from the database. getCurrentUser needs to return a stream. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a flutter web project and would like the data on the user's screen to be up to date. I created a stream using riverpod, but when I change the value in the database, the data on the screen is not updated. To see the latest data, I need to refresh the page manually.
How can I ensure that the value is updated when the data in the database changes?
Beta Was this translation helpful? Give feedback.
All reactions