Basic Page Navigation
Learn to push and pop routes using Navigator, enabling simple transitions between different screens in your Flutter app.
Navigating Your App
Think of a mobile app as a collection of pages or "screens." Navigation is how users move between these screens, like going from a product list to a product detail page.
- Apps need a clear way to move forward.
- Apps also need a way to go back.
- Flutter provides powerful tools for this.
Meet the Navigator
In Flutter, the Navigator widget manages a stack of Route objects. When you want to show a new screen, you "push" a route onto this stack. When you want to go back, you "pop" a route off the stack.
- It's like a stack of playing cards.
- New cards go on top (push).
- You remove cards from the top (pop).
All lessons in this course
- Basic Page Navigation
- Named Routes & Arguments
- TabBars & Drawers
- Deep Linking & URL Navigation