When a user signs up in my app he gets a verification e-mail. The onAuthStateChanged-listener gets called when a user gets created using createUserWithEma
onAuthStateChanged
createUserWithEma
Use the where Function:
final FirebaseAuth _firebaseAuth = FirebaseAuth.instance; Stream get onAuthStateChanged { return _firebaseAuth.onAuthStateChanged.where((user)=> user.isEmailVerified); }