You can use Share Preference to stay log in and log out. You can check how-to-use-shared-preferences-to-keep-user-logged-in-flutter. You can even use a shared preference plugin from pub. dev, check this plugin.1 Eki 2020
Read moreHow do I know if someone logged in to Firebase?
How do I detect if a user is already logged in Firebase?
Read moreHow do you check if a user is Realated in flutter firebase?
Check if user is logged in Firebase Auth provides you with a current user to check. They keep track of the login status on disk so you can simply check if the user is null or not to confirm if we’re logged in. Open up the AuthenticationService and add a new function that returns a type Future<bool> .
Read moreHow can you tell if someone is logged in?
When to check if the user is logged in?
Read moreHow do you log in and out on flutter?
In the following steps, you will be able to build a Login/Logout App.
Read moreWhat is flutter session?
Adds session support to Flutter . Works with mobile, web and (hopefully) desktop builds. (Don’t forget to hit the like button if you find the package helpful.)
Read moreHow do you handle sessions in flutter?
Flutter Session Managements
Read more