pub_cache 0.3.2 copy "pub_cache: ^0.3.2" to clipboard
pub_cache: ^0.3.2 copied to clipboard

A library to reflect on the local pub cache.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pub_cache

With Flutter:

 $ flutter pub add pub_cache

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

dependencies:
  pub_cache: ^0.3.2

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:pub_cache/pub_cache.dart';
2
likes
125
pub points
59%
popularity

Publisher

unverified uploader

A library to reflect on the local pub cache.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

path, pub_semver, yaml

More

Packages that depend on pub_cache