package_context 2.2.0 copy "package_context: ^2.2.0" to clipboard
package_context: ^2.2.0 copied to clipboard

Initialize a package's config and dependencies as one graph, and read them from a typed package context.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add package_context

With Flutter:

 $ flutter pub add package_context

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  package_context: ^2.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:package_context/package_context.dart';
1
likes
160
points
144
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Initialize a package's config and dependencies as one graph, and read them from a typed package context.

Repository (GitHub)
View/report issues

Topics

#architecture

License

MIT (license)

Dependencies

meta

More

Packages that depend on package_context