pubspec2 4.0.0 copy "pubspec2: ^4.0.0" to clipboard
pubspec2: ^4.0.0 copied to clipboard

discontinuedreplaced by: pubspec_manager

A library for manipulating pubspec.yaml files. This is a place holder until the pubspec library is updated with PR

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pubspec2

With Flutter:

 $ flutter pub add pubspec2

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

dependencies:
  pubspec2: ^4.0.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:pubspec2/pubspec2.dart';
2
likes
130
pub points
57%
popularity

Publisher

verified publisheronepub-web.flutter-io.cn

A library for manipulating pubspec.yaml files. This is a place holder until the pubspec library is updated with PR

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

meta, path, pub_semver, yaml, yaml_extension

More

Packages that depend on pubspec2