Mobile development

Stage 1 · Lesson 10 of 10

Packages from pub.dev

Dart fundamentals

Your app's are listed in pubspec.yaml. You add one with flutter pub add http, which picks a version range such as ^1.2.0 (any 1.x at or above 1.2.0). The pubspec.lock file records the exact versions installed.

Commit it for apps, so every machine builds the same thing. Before choosing a package on pub.dev, check its likes and (a quality score), whether it lists Android and iOS support, and when it was last published. Prefer packages from the and teams or well-known publishers.

Common trapadding a package for a few lines of code, then being stuck on an old Flutter version when it is abandoned.

A question to check yourself, an AI practice session and 1 cheat sheet entry come with the full roadmap. Unlock

Resources for this stage

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

Mark this stage as not done?