Maybe it's a newbie question, but I would like to know is it possible to use same stream(Stream) to build the UI of two pages. Let's take an example: if there are two pages which should display the same list of data(say username and address) which is read from firebase. Can this be done by reading the data from firestore once and using same stream with streambuilder on each page?
I'm able to display the list(using streambuilder and Listview.builder) on first page but when I navigate to second page and use same stream(not reading this from firebase again but using the same stream which was read for first page) it doesn't work. I tried StreamController.broadcast(); also but no luck.
Can anyone help here?