Maps are convenient collections of keys and values that allow you to access data efficiently. This video is an in-depth overview of maps, how they work, and what they can do for you and your apps.
Alright, let's talk quickly about dart maps … and how they work and how we can create them, … and what we can use them for. … When we're talking about dart maps, … it kind of refers to, not like a map of the world, … but more like how something can map onto something else. … So for example, if I type this latitude and longitude … into Google Maps, it will map onto a specific location … And even better than that, … you should think of maps as almost like a phone book, right? … Let's say that I have, you know, three friends. … I hope you have more friends than I do. … Amy, James, and Tim. … And I keep their phone numbers in a book … 'cause I'm old school like that. … Now, a phone book is kind of like a very basic sort of map. … It's able to associate two pieces of data together. … So, usually you would have a key. … In this case, it would be the names of my friends. … And then you would have some values … and these would be the values … that are associated with the keys. … This is how maps are. …
This course was created by London App Brewery. We are pleased to host this content in our library.
- Using Flutter themes
- Refactoring widgets
- Customizing widgets using themes
- Routes and navigating
- Dart maps