From the course: Flutter Essential Training: Build for Multiple Platforms
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Navigating from one screen to another - Flutter Tutorial
From the course: Flutter Essential Training: Build for Multiple Platforms
Navigating from one screen to another
- [Instructor] Mobile apps or even web apps are not just a one page application. They lead the user from one page to another depending on the user interactions. Simply put, navigation is a core concept in application. And since our application has two screens at the moment, the button on the login screen has to navigate the user to the chat page and the log out button on the chat page will navigate the user back to the login page. These chat widgets and login widgets are these full screen elements that we often refer to as pages or screens. But in Flutter, we call them routes. So in Flutter's language, we navigate from one route to another, and this is handled by this navigator widget. This navigator manages a stack of routes and provides two ways for managing the stack. One is the declarative API and other is the imperative API. In this course, we will only be looking at the imperative API. Like how we push and pop…
Contents
-
-
-
-
-
-
What is state?1m 55s
-
(Locked)
Writing your first stateful widget7m 17s
-
(Locked)
Widget variables vs. state variables3m 26s
-
(Locked)
When to use stateless or stateful?1m 51s
-
(Locked)
Lifecycle of a stateful widget3m 44s
-
(Locked)
Stateful hot reload3m 22s
-
(Locked)
Learning about buttons6m 50s
-
(Locked)
Taps and gesture detection3m 47s
-
(Locked)
Getting inputs from the user7m 40s
-
(Locked)
Validating user inputs7m 55s
-
(Locked)
Creating multiline text fields6m 46s
-
(Locked)
Navigating from one screen to another5m 41s
-
(Locked)
Passing data with navigation2m 7s
-
(Locked)
Navigating via named routes4m 8s
-
(Locked)
Replacing routes using Navigator5m 16s
-
-
-
-
-