DartIntermediate3 topics

Packages, libraries and workspaces

Manage dependencies, library boundaries, package contracts and shared code.

Keep reusable model code separate from platform adapters. SDK constraints, public imports and workspace resolution are part of a package contract, not merely setup details.

Your lessons

One clear step at a time
  1. 01Dart pubspec and dependencies: constraints, lockfiles and upgradesManage a reproducible application dependency graph without hiding incompatible SDK requirements.2 min
  2. 02Dart libraries and public APIs: imports, exports and documentationKeep package implementation details behind an intentional import surface.2 min
  3. 03Dart pub workspaces: share models between Flutter and a backendUse one coordinated dependency resolution while keeping client-only and server-only code separate.2 min
View the full Dart course

Find your next idea

Search lessons, code examples and projects.

Type a few words to start exploring.