Programming Languages
Learn Dart
92 short lessons with interactive exercises. You start from zero and move from beginner to advanced.
- 92 lessons
- 3 levels
- Arabic & English
- Start free
What you will learn
- Write Dart programs using types, control flow, functions and collections
- Handle null values safely and build clear object-oriented models
- Use generics, records and pattern matching to design solutions
- Run asynchronous operations and work with streams, ready for Flutter apps
About this course
A complete Dart course from scratch: you start with the basics — variables, types, conditions and loops — then move on to functions, collections and null safety, all the way to object-oriented programming, generics, records, pattern matching, asynchronous programming and streams. A modern language and the foundation of Flutter app development.
Skills
- Dart
- Flutter
- App development
- Object-oriented
Lessons
Every lesson is short, and the exercises after it lock in what you learned.
Beginner level
28 lessons
- Introduction to Dart
- The difference between Dart and Flutter
- Your First Dart Program
- The main function
- Printing with print
- Comments in code
- Variables
- Variable naming rules
- Basic data types
- Type inference with var
- Using final and const
- String Interpolation
- The dynamic type
- Type conversion
- Parsing strings to numbers
- Arithmetic operators
- Assignment operators
- Increment & Decrement
- Comparison Operators
- Logical Operators
- Conditions with if and else
- Multiple Conditions with else if
- Choosing with switch
- The Ternary Operator
- The for loop
- The while and do-while loops
- Controlling loops: break and continue
- The for Loop
Intermediate level
29 lessons
- Defining and Calling Functions
- Function parameters
- Returning Values from Functions
- Optional Positional Parameters
- Named parameters
- Default parameter values
- Arrow functions with =>
- Variable scope
- Functions as values
- Callbacks
- Lists
- Working with List Elements
- List methods
- The for-in Loop
- Sets
- Working with map elements
- The spread operator
- Collection if
- Collection For: Loops Inside Collections
- Null safety
- Nullable Types ?
- The Null-Aware Operators ?. and ??
- The null assertion operator (!)
- late initialization
- Enums
- Error handling with try/catch
- Using finally and throw
- DateTime
- Working with JSON
Advanced level
35 lessons
- Introduction to Object-Oriented Programming
- Classes and objects
- Instance Variables
- Methods
- Constructor
- Named constructors
- Using the this keyword
- Initializer lists
- Factory Constructors
- Getters and setters with get and set
- Privacy with _
- Using static Inside a Class
- Inheritance with extends
- The super keyword
- Method overriding
- Polymorphism
- Abstract classes
- Implementing interfaces with implements
- Mixins
- Extending Types with extension
- Generics
- Generic Constraints
- Naming function types with typedef
- Records
- Destructuring
- Pattern matching
- Switch patterns
- Class Modifiers: sealed, base, and final
- Futures
- Asynchronous Programming with async and await
- Async Error Handling
- Running several operations together with Future.wait
- Data streams with Stream
- Handling streams with await for
- Running tasks with isolates
Start your first lesson today
Get the Lammah app and pick “Learn Dart” from the courses. Each lesson takes a few minutes, and you can start free.






