Challenge: Navigation and Routing
Test your understanding of navigation in Flutter.
In this lesson, you’ll work on a challenge that will test your understanding of navigation and routing.
Goal
Understand how to navigate between screens.
Specs
When the back button on the item detail screen is pressed, the app should return to the item list screen, and a pop-up with the item name should be displayed. When the pay button on the checkout screen is pressed, the app should navigate to the first screen.
Challenges
In this challenge, you’ll return data from a screen and clear the navigation stack.
This challenge’s goal is for you to use Navigator.pop()
to return data from a screen and Navigator.popUntil()
to clear the navigation stack.
Get hands-on with 1400+ tech skills courses.