Dart language foundations for Flutter

8 steps · about 3 h 45 min · Beginner

  1. Tour the shape of a Dart program (guide, Dart (Google), 25 min)

    A quick overview of syntax and core ideas before diving into each part.

  2. Declare variables with var, final and const (guide, Dart (Google), 15 min)

    Dart's three declaration styles matter for performance and Flutter rebuilds.

  3. Use numbers, strings and booleans (guide, Dart (Google), 25 min)

    Know the built-in types and string interpolation you will use in every widget.

  4. Understand sound null safety (guide, Dart (Google), 50 min)

    Nullable types shape every Dart API; learn how the compiler reasons about them.

  5. Build lists, sets and maps (guide, Dart (Google), 20 min)

    Collection literals with if and for elements are how Flutter builds widget lists.

  6. Write functions with named parameters (guide, Dart (Google), 25 min)

    Named and required parameters are the calling style of almost every Flutter constructor.

  7. Model data with classes (guide, Dart (Google), 30 min)

    Constructors, getters and instance members are needed for any app state.

  8. Call async code with Futures (tutorial, Dart (Google), 35 min)

    Network and file work in apps is asynchronous; end with async and await.