packages 0.4.4 icon indicating copy to clipboard operation
packages: ^0.4.4 copied to clipboard

Resolves a package name to its path on your HD

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate packages

Use it

The package has the following executables:

$ packages

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add packages

With Flutter:

 $ flutter pub add packages

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

dependencies:
  packages: ^0.4.4

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:packages/packages.dart';
1
likes
60
pub points
48%
popularity

Publisher

unverified uploader

Resolves a package name to its path on your HD

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, console_log_handler, logging, optional, path

More

Packages that depend on packages