Chapter 8
Navigation, Lists, and Other Goodies
IN THIS CHAPTER
Moving from one page to another
Displaying a list of similar items
Creating routes and lists
Grabbing info from the Web
Until now, every sample Flutter app you’ve built has been a single self-contained page. They have some interactivity in the form of buttons and drop-down menus, but they’re each like tiny, deserted islands. Once you’ve walked from one edge of the island to the other, there’s not much else to do and no way to get news from the outside world. Unlike Tom Hanks’s character in Castaway, you can’t even befriend a volleyball.
For the same reasons that being stuck on a deserted island isn’t much fun, apps that are islands aren’t in high demand. In this lesson, you’ll learn to add more complexity and variety to your apps by having multiple screens and by pulling data in from the vast world outside.
Extending a Dart Class
As the example code gets more complex, the code listings in this book can become unbearably long. A simple example to illustrate one new concept may consume several pages. You’d need magic ...
Get Coding All-in-One For Dummies, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.