I have a problem signing out the current user from my app
the method I am using is as follows:
....
onPressed:_signOut
//jump to function
void _s
Firebase auth's signOut method is asynchronous. You should make your _signOut method async.
Future _signOut() async {
await FirebaseAuth.instance.signOut();
}
so that the call to runApp occurs after the user is signed out.
You should also call _googleSignIn.signOut() when logging out if you want signIn to present the user with an authentication dialog instead of silently and automatically re-using the current Google user.