Dart setup and fundamentals
Install Dart, run a program and learn values, operators, strings and control flow.
If Flutter is already installed, its matching Dart SDK is enough for the language lessons. Verify the selected executable, then run a console project before changing application code.
Your lessons
One clear step at a time- 01Dart SDK setup: install, PATH and version checksChoose the Dart SDK included with Flutter or install standalone Dart, then verify which executable your tools use.2 min
- 02Create your first Dart console projectCreate a package, find its entry point and verify formatting, analysis and execution.2 min
- 03Dart variables and types: var, final and constUse var, final and const deliberately, and let Dart types help you express what a value means.2 min
- 04Dart operators and numbers: calculate a shopping totalUse integer minor units, arithmetic, comparisons and boolean rules for a small order.2 min
- 05Dart strings and parsing: clean a contact formNormalize text, parse optional numbers and avoid treating malformed input as valid data.2 min
- 06Dart if, switch and loops: process an order queueChoose branches, iterate with for and while, and use break and continue intentionally.2 min
- 07Dart types, Object and dynamic: validate at the boundaryUse static types, safe checks and explicit exceptions instead of relying on dynamic access.2 min
- 08Dart collections: List, Set, Map and control flowChoose lists, sets and maps, then use conditions and loops to express a small learning-plan example.2 min