Introduction to Dart - Part 5: Control Flow
This mini-video series is a FREE sample of my Flutter & Firebase Course.
Some previous programming knowledge is helpful, but not strictly required.
This video covers the various control flow directives available in Dart.
- If and else statements
- The ternary operator
- The while loop
- The for loop
- Closures and the fold method
- Switch statements
Code with Andrea is free for everyone. Help me keep it that way by checking out this sponsor:
Add in-app purchases to your app in minutes. With RevenueCat you get reliable in-app purchase infrastructure without the hassle of building and maintaining your own servers. Try it for free.
The code in this video was written in Dart 2.1 with Dartpad.
Thanks for watching!