flutter logs in cmd' code example
Example: logging in flutter
onPressed: () async {
setState(() {
sponner = true;
});
try {
final newUser = await _auth.signInWithEmailAndPassword(
email: email, password: password);
if (newUser != null) {
Navigator.pushNamed(context, ChatScreen.id);
}
sponner = false;
} catch (e) {
print(e);
}
},