I am trying to get the user from a StreamProvider that I declared before the MaterialApp in a Drawer widget, but I get this error:
StreamProvider
MaterialApp
Drawer