Understanding Routes and Navigation
In the previous chapter, we learned how Flutter works under the hood to produce applications for different platforms, especially for the web. We also learned about different renderers available to build web apps, and how and when to use them. In this chapter, we will start learning about routing and navigation. We will also implement navigation in our Flutter Academy application.
By the end of this chapter, you will understand how to use routes and how to navigate between different screens. You will also learn how to use these principles to add navigation to our application. You will learn about the Navigator 2.0 API and how it’s useful for web applications. We will then change our application to use Navigator 2.0, allowing us to use navigation effectively, which will include parsing URLs received from the web browser and updating the navigation stack based on the URL.
In this chapter, we will cover the following main topics:
-
...