Programming in Dart: Control Flow & Collections

May 3 2022 · Dart 2.15, DartPad, DartPad

Part 1: Control Flow

01. Introduction

Episode complete

Play next episode

About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Next episode: 02. Understand While Loops
Transcript: 01. Introduction

Hey what’s up everybody! This is Brian and welcome to Programming in Dart: Control Flow & Collections. In this course, we are building on lessons we learned in the previous course: Programming in Dart: Fundamentals. If you haven’t taken this course, then stop now and return once you have watched it.

When we last were on our Dart journey, we explored the fundamentals and then dived into the first collection, the list. This second course is going to supercharge your existing Dart knowledge. This is meant to expand your knowledge of control flow after which, we’ll return back collections to cover two new collection objects that will give you lots of options when writing your programs.

For this course, you don’t need to download any fancy programming tools. You’ll be doing all your Dart coding in a browser. This means you should have a modern browser like Firefox or Chrome. You’re going to start this course with a deep dive into control flow. You should already be familiar with the if-statement. We’re going to start off diving into loops.

You’ll first learn about the while loop and then you’ll work with the for loop.

Next you’ll learn about another kind of loop called the for loop.

Then you’ll learn how to iterate over collections.

Then you’ll learn about nesting loops. That is, putting loops inside of loops.

Finally, we’ll wrap up this part with an introduction to the Switch statement which works kind of like of if-statement, but isn’t.

This course is designed to be hands-on, where we’ll explore Dart together step-by-step. It’s very important that you don’t just watch the exercises, but actually follow along in Dartpad. This helps you understand how to write code in the Dart programming language.

In addition to what I just covered, the course contains several hands-on challenges, where you’ll get to practice what you’ve just learned on your own. It’s in your best interest to actually pause the video and try solving the challenges - you’ll learn a ton by doing this.

Okay, okay. Enough yapping from me. It’s time to get busy and we’ll do that by diving into while loops. See you in the next episode.