as of update 0.18 there's been changes in the way user state is handled.
_firebaseAuth.CurrentUser() is no longer usable, CurrentUser is now just a getter.
/// Returns the current [User] if they are currently signed-in, or null if /// not. /// /// You should not use this getter to determine the users current state, /// instead use [authStateChanges], [idTokenChanges] or [userChanges] to /// subscribe to updates.
can you please, even if you're not willing to update the entire project, just tell me how to handle the "authStateChanges" stream
for example through the firebase authentication facade? and pass it down to states and firing events based on how we listen to it.
as of update 0.18 there's been changes in the way user state is handled.
_firebaseAuth.CurrentUser() is no longer usable, CurrentUser is now just a getter.
/// Returns the current [User] if they are currently signed-in, ornullif /// not. /// /// You should not use this getter to determine the users current state, /// instead use [authStateChanges], [idTokenChanges] or [userChanges] to /// subscribe to updates.can you please, even if you're not willing to update the entire project, just tell me how to handle the "authStateChanges" stream
for example through the firebase authentication facade? and pass it down to states and firing events based on how we listen to it.