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
  1. Introduction to Dart
  2. The difference between Dart and Flutter
  3. Your First Dart Program
  4. The main function
  5. Printing with print
  6. Comments in code
  7. Variables
  8. Variable naming rules
  9. Basic data types
  10. Type inference with var
  11. Using final and const
  12. String Interpolation
  13. The dynamic type
  14. Type conversion
  15. Parsing strings to numbers
  16. Arithmetic operators
  17. Assignment operators
  18. Increment & Decrement
  19. Comparison Operators
  20. Logical Operators
  21. Conditions with if and else
  22. Multiple Conditions with else if
  23. Choosing with switch
  24. The Ternary Operator
  25. The for loop
  26. The while and do-while loops
  27. Controlling loops: break and continue
  28. The for Loop

Intermediate level

29 lessons
  1. Defining and Calling Functions
  2. Function parameters
  3. Returning Values from Functions
  4. Optional Positional Parameters
  5. Named parameters
  6. Default parameter values
  7. Arrow functions with =>
  8. Variable scope
  9. Functions as values
  10. Callbacks
  11. Lists
  12. Working with List Elements
  13. List methods
  14. The for-in Loop
  15. Sets
  16. Working with map elements
  17. The spread operator
  18. Collection if
  19. Collection For: Loops Inside Collections
  20. Null safety
  21. Nullable Types ?
  22. The Null-Aware Operators ?. and ??
  23. The null assertion operator (!)
  24. late initialization
  25. Enums
  26. Error handling with try/catch
  27. Using finally and throw
  28. DateTime
  29. Working with JSON

Advanced level

35 lessons
  1. Introduction to Object-Oriented Programming
  2. Classes and objects
  3. Instance Variables
  4. Methods
  5. Constructor
  6. Named constructors
  7. Using the this keyword
  8. Initializer lists
  9. Factory Constructors
  10. Getters and setters with get and set
  11. Privacy with _
  12. Using static Inside a Class
  13. Inheritance with extends
  14. The super keyword
  15. Method overriding
  16. Polymorphism
  17. Abstract classes
  18. Implementing interfaces with implements
  19. Mixins
  20. Extending Types with extension
  21. Generics
  22. Generic Constraints
  23. Naming function types with typedef
  24. Records
  25. Destructuring
  26. Pattern matching
  27. Switch patterns
  28. Class Modifiers: sealed, base, and final
  29. Futures
  30. Asynchronous Programming with async and await
  31. Async Error Handling
  32. Running several operations together with Future.wait
  33. Data streams with Stream
  34. Handling streams with await for
  35. 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.

Learn tech skills easily, for freeGet the app