Flutter Navigator 2.0

Nov 8 2022 Dart 2.17.3, Flutter 3.0.2, Android Studio 2020.3

Part 3: Use the Navigation

12. Display the Login & Sign-up Pages

Episode complete

Play next episode

Next
Save for later
About this episode
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 11. Display the Splash Screen Next episode: 13. Navigate to the Home Page

This video Display the Login & Sign-up Pages was last updated on Nov 8 2022

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a kodeco.com Professional subscription.

Episode 12 - Display the Login page and Signup Page

Now that we have displayed splash screen successfully. We want to display the login screen after 2 seconds of delay. Let us create the condition in our pages array to display the login page.

 if(appStateManager.isInitialized && !appStateManager.isLogin) LoginScreen.page(),
    Provider.of<AppStateManager>(context, listen: false).initislizeApp();
if (appStateManager.isInitialized && appStateManager.isSignUp) SignupScreen.page(),
  Provider.of<AppStateManager>(context, listen: false).onsignUpTapper(true);