build_pubspec 0.2.0+1

Dart native

Extract pubspec details (such as package version, author and description) into Dart code.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  build_pubspec: ^0.2.0+1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:build_pubspec/builder.dart';
3
likes
100
pub points
40%
popularity

Publisher

dartside.dev

Extract pubspec details (such as package version, author and description) into Dart code.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

build, build_config, meta, pubspec_parse, source_gen

More

Packages that depend on build_pubspec