I have assigned the data that i am getting from firebase to my riverpod through initState in one screen, but i dont have the data in other screens
I have an application with two screens, one of them is my home screen which I have an icon that when is pressed I will post the item to firebase, the other one is my favorite screen which I can see my favorite items, the problem is that I post the data from home screen and get the data from firebase in favorite screen and assign it to my riverpod through initState() correctly but when I come back from favorite screen and I call my riverpod , the riverpod is empty though I have assigned the data in my favorite screen to it.(I am using go_router for navigation)your text
Manage loading state from one provider on widget and sub-widget
The following should be achieved using Flutter, Riverpod and Firebase.
It’s about onboarding, firebase authentication getting additional user information from firebase.