Flutter – Encountered a "StateError (Bad state: Cannot emit new states after calling close)" upon the attempt to log in with Google
I'm using the flutter_firebase_login example from the official GitHub repository of flutter_bloc. My goal is to store supplementary user data in the Firestore database after a successful Google login, specifically for first-time users, in addition to their email, displayName, and…