title: Sign In Google will stuck on black screen when try to Add Users Flutter
body: <p><a href="https://i.stack.imgur.com/ZC1yq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZC1yq.png" alt="enter image description here"></a>Hi so i try to add firebase auth on my app, so i followed  the documentations in here <a href="https://pub.dartlang.org/packages/firebase_auth" rel="nofollow noreferrer">https://pub.dartlang.org/packages/firebase_auth</a> from the plugin creators it self, It works well at first, but then i'm just ecounter an error or bug, its when i'm tried to add users instead of choose users that already login in my device, after add the users it will stuck forever in black sreen like the picture above, it not giving some error message it just stuck there. So is there anyone that already has same issues like me ? is there any solutions for this ? here is my code for handle the sign in </p>
  
  <pre><code>Future&lt;FirebaseUser&gt; _handleSignIn() async {
      SharedPreferences prefs = await SharedPreferences.getInstance();
      GoogleSignInAccount googleUser = await _googleSignIn.signIn();
      GoogleSignInAuthentication googleAuth = await googleUser.authentication;
  
      FirebaseUser user = await _auth
          .signInWithGoogle(
        accessToken: googleAuth.accessToken,
        idToken: googleAuth.idToken,
      );
      Navigator.of(context).pushReplacementNamed('/HomeScreen');
      await prefs.setString('accesToken', googleAuth.accessToken);
      await prefs.setString('email', googleUser.email);
      await prefs.setString('displayName', googleUser.displayName);
      await prefs.setString('photoUrl', googleUser.photoUrl);
  
  
      return user;
    }
  </code></pre>