April 2020
Intermediate to advanced
380 pages
9h 24m
English
We would also need to determine the authentication status, that is, whether the user was signed in when the application was launched and direct them to the home screen if already signed in. If the user wasn't signed in, SignInSignupScreen should appear first and, after completing the process, the home screen is launched. To implement this, we create a stateful widget, MainScreen, inside a new dart file, main_screen.dart, and perform the following steps:
enum AuthStatus { NOT_SIGNED_IN, SIGNED_IN,}
Read now
Unlock full access