Mobile development

Stage 1 of 7 · 10 lessons · ~2 months

Dart fundamentals

Learn the language your apps will be written in before touching UI code. Null safety, collections and async code matter more on mobile than most beginners expect.

Start: var, final, const and type inference

Lessons· one lesson for each topic, in this order

  1. 1var, final, const and type inference
  2. 2Sound null safety
  3. 3Functions, named parameters and closures
  4. 4Classes, constructors, mixins and enums
  5. 5Sealed classes, records and patterns
  6. 6List, Map and Set
  7. 7Exceptions and error handling
  8. 8Futures, async and await
  9. 9Streams
  10. 10Packages from pub.dev

Start with

  • GuideFree
    Dart Language Tour

    Google · Beginner

    The official tour: read it in order and rerun every example in DartPad

Practise

  • Dart, TypeScript, Kotlin and Swift tracks with small exercises and free mentor feedback

Keep handy

  • Its Dart tutorial pages work as a quick lookup while you do the tour

Also worth your time

Before moving on: Solve 15 exercises on Exercism in your language, then write a small console program, such as a to-do list or a grade calculator, that uses classes, collections, error handling and one async call.

Tauseef's advice
Dart is quick to pick up if you know Java, JavaScript or C#, so spend your time on null safety, Futures and Streams rather than syntax. Use DartPad in the browser for the first week so setup does not slow you down.

Mark this stage as not done?