Exploring Navigation and Routing with a Hacker News Clone
So far in our adventures, we have yet to build more than a simple application, however in real life, most of the applications that we use in our daily lives have more than one page. Due to this, every framework has a way of navigating between different views or pages; this feature allows us to keep the user’s experience simple and intuitive because we only display the information that they need to see rather than everything that might lead to information overload.
In this chapter, we will learn how to navigate in a multi-page application using Flutter and its Navigator
APIs. First, we will examine how navigation works in Flutter and how we can move from one screen of an application to another. Then, we will build a news application with the Navigator 1.0 API. After getting a clear understanding of how Navigator 1.0 works, we will refactor our application to use Navigator 2.0. Finally, we will simplify our application...