Programming in Dart: Control Flow & Collections
This course will build on the previous Programing with Dart course whereby you’ll learn how to manage control flow in your programs as well as explore several of the built in collection types. By Brian Douglas Moakley.
This is part of the Flutter Fundamentals learning path. View path.
Who is this for?
This course is written for people are new programming! If you don’t know the difference between loop or a switch, then you’ve come to the right place!
Before starting, you should have watched Programming in Dart: Fundamentals. This course will build on those foundational concepts and expand on your understanding of the Dart programming language.
- While Loops
- For Loops
- For In Loops
- Switch Statement
Part 1: Control Flow
Gain an introduction to control flow and then get an overview of the various tools you’ll be learning in this part.
Learn how to make Dart repeat your code multiple times with while loops, do-while loops, and break statements.
Practice using while loops on your own, through a hands-on challenges.
Learn For Loops
Learn how to use for loops in Dart, along with ranges, continue, and labeled statements.
Practice using for loops on your own, through a hands-on challenge.
Learn how to use your existing knowledge of for loops to iterate over collections.
Practice iterating over collections using loops on your own, through a hands-on challenges.
Learn how to nest one loop inside another, and even terminate a loop early if and when you need to.
Learn how to switch on values using Dart’s switch statement.
Let’s review where you are with your Dart control flow, and get a preview about what comes next.
Part 2: More Collections
Learn about some of the other collections offered by Dart that you’ll learn in this part.
Learn how to create and populate Maps, a useful collection in Dart.
See how to access the contents of maps and manipulate maps.
Practice using maps on your own, through a hands-on challenge.
Learn how to create sets, how to populate them with data and retrieve that data.
Work with Sets
Now that you understand sets, you will learn how to really leverage their utility by using several set operations.
Practice using sets on your own, through a hands-on challenge.
Let’s review what you learned in this part, and discuss what’s next.