file:

package:

packages/

test

packages/

packages/

packages/

.packages

Disabling The Packages Directory

--no-package-dir

pub get

upgrade

downgrade

packages/

packages/

Core Package APIs

package:

file:

Future<Uri>

Uri

package:

null

null

--packages

--package-root

null

The package_resolver Package

packageRoot

PackageResolver

Isolate.resolvePackageUri()

Isolate.packageUri

Isolate.packageRoot

lib/

Isolate.resolvePackageUri()

file:

package:

package:

dart

dart2js

dartdevc

data:

But I Want It Synchronous!

PackageResolver

PackageResolver

SyncPackageResolver

Future<SyncPackageResolver>

SyncPackageResolver

PackageResolver

Why Bother With The Package Root?

package_resolver

packages/

packages/

packages/

packages/

On Into The Future

--no-package-dir

--packages-dir

package_resolver