Leveling up with advanced navigation techniques
After we learn about Navigator 2.0, which we also call declarative navigation, using the simpler, command-based navigation might feel limiting. It’s hard to add or remove many pages at once or to deal with a page below the current one in the navigation stack. However, if you’re content with the simpler version, it’s still fine and works well. The existence of Navigator 2.0 doesn’t mean that the earlier version is outdated or unusable.
As Flutter apps become more complex, you might need more advanced ways to move around the app. Advanced navigation, such as Navigator 2.0, allows you to change routes dynamically. Making your own route changes gives you strong tools to move through your app more easily. Let’s look at these ideas and how they can make your app more enjoyable for users.
Reminder
Make sure that you’re starting fresh from the initial version found in the GitHub repository. We...