🎯 Dart
Learn Dart from the Basics
Dart — the language behind Flutter, where one codebase builds both iOS and Android apps — taught from the ground up across 20 lessons. Since Dart is compiled rather than run in a browser, each lesson checks whether what you typed matches the reference code, giving you instant feedback without ever leaving the page.
What is Dart used for?
Dart was announced by Google in 2011, and found its real audience with the arrival of the Flutter framework. Flutter builds iOS, Android, web, and desktop apps from a single codebase, which is why Dart has spread so quickly through mobile development. Its null safety catches a whole class of crash at compile time, and its syntax is close enough to Java and JavaScript that most developers pick it up quickly.
Common uses & related roles:
- Cross-platform mobile app development
- Web and desktop app development
- Backend development with Dart
- Flutter engineer
- 01Setting up (what you'll need)
- 02Your first output (print)
- 03Variables and types (var and annotations)
- 04Null safety (? and !)
- 05Branching (the if statement)
- 06Repeating (the for loop)
- 07Writing your own function
- 08Repeating (the while loop)
- 09Working with lists (List)
- 10Working with maps (Map)
- 11Classes (object orientation)
- 12Constructors
- 13Inheritance
- 14Named arguments
- 15Asynchronous work (Future, async, await)
- 16Working with strings
- 17The switch statement
- 18The ternary operator
- 19Extension methods
- 20[Project] Build a small inventory system
