I'm using the Stream that is returned by FirebaseAuth.instance.idTokenChanges() in a StreamProvider, to update the whole underlying Widget-tree everytime a user signs up/in/out.
When I update the displayName for example, is there a way I can manually add an event to that Stream, so that the StreamBuidler rebuilds the widget tree with the NEW user data (new displayName), so that the changes display in the UI?
Can I maybe access the controller associated with the stream, so I can call .sink.add() on it? Or is there any other way?
I have figured out a solution: using the StreamGroup class to combine two (or more) streams into one.
Important, this is from the Flutter async package, not dart async:
...