If you want to check if the user is logged in Flutter & firebase auth Use the currentUser() method to validate if the user is logged in Flutter & firebase auth.
1 2 3 4 5 | if (await FirebaseAuth.instance.currentUser() != null) { // signed in } else { } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.