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:
Subscription Management for Flutter apps. RevenueCat gives you everything you need to build, analyze, and grow IAPs with just a few lines of code.
The code in this video was written in Dart 2.1 with Dartpad.
Thanks for watching!