Programming in Dart: Functions & Closures

Jun 21 2022 · Dart 2.16, Flutter, DartPad

Part 1: Meet the Function

09. Conclusion

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 08. Use Arrow Notation Next episode: 10. Introduction

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Transcript: 09. Conclusion

As you can tell from making your way through the first part of this course, functions are a very powerful language feature indeed.

We started this part with an introduction on how to create functions.

Then you learned how to implement optional parameters giving the function caller some flexibility.

After which, you learned about named parameters which is a way for the code to document itself which a cool feature.

Then you learned how to pass functions into functions which, spoiler alert, you’ll be doing a lot in the next part.

After which, you met the typedef keyword allowing you to take a function signature in convert it into something readable.

We finally closed this part with a discussion on the arrow syntax and along the way, you gained a deeper understanding of the void keyword.

That was a lot of discussion about functions and if I were to leave it there, you’d be able to write some pretty amazing programs with them. But there’s a whole more to cover. In fact, we’re scratched the surface of what you can do. So buckle up. In the next part, things are going to get a little functionally wild. I look forward to seeing you then.