Gain an understanding of functions in Dart and then receive an overview of all the various concepts that will be covered in the first part of the course.
This content was released on Jun 21 2022. The official support period is 6-months
from this date.
Gain an understanding of functions in Dart and then receive an overview of all the various concepts that will be covered in the first part of the course.
Cinema mode
Mark complete
Download course materials
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Watch this episode for free — or access the full course as a Kodeco Personal Subscriber. Learn more about the benefits of subscribing here
Transcript: 01. Introduction
00:02Hey what’s up everybody! This is Brian and welcome to Programming in Dart: Functions and Closures. In this course, we are going to be building on lessons that were learned in the Programming with Dart programming series.
00:17When we last were on our Dart journey, we crossed through the lands of control flow and collections. You learned how to manage your programs and how to to store data. But now we are about to cross through the desert of functions and closures.
00:31Well it’s not a desert of features mind you, because these two concepts will take your code to the next level. In fact, just think of desert as dessert because you are going to love all the features covered in this course.
00:45In the previous Dart courses, you’ve learned how to write programs utilizing variables and control flow, but with functions, you’re going to be call that code on demand. In essence, the code that you’ve written was only accessible in one part of your program but now you are going to make them accessible to all the other parts.
01:07This course into two parts.
01:11In the first part, we’re going to start with an overview of functions and how to create them.
01:15Once you have a good idea about functions, you’ll be introduced to optional parameters.
01:20After which, you’ll learn about named parameters.
01:23Then you’ll learn how to store a function in a variable and how you can pass it to other functions.
01:28Then you’ll get an introduction to the typedef keyword which makes your code easier to read, especially when defining functions.
01:37We’ll close out this course with an overview of arrow notation otherwise known as the fat arrow.
01:44For 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.
01:58This 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.
02:16In 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.
02:35With that said, let’s start off by diving into the world of functions so crack those knuckles and I’ll see you in the next episode.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.