build_pubspec 0.2.0+1 copy "build_pubspec: ^0.2.0+1" to clipboard
build_pubspec: ^0.2.0+1 copied to clipboard

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add build_pubspec
copied to clipboard

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

dependencies:
  build_pubspec: ^0.2.0+1
copied to clipboard

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

Import it

Now in your Dart code, you can use:

import 'package:build_pubspec/builder.dart';
copied to clipboard
5
likes
40
points
23
downloads

Publisher

verified publisherdartside.dev

Weekly Downloads

2024.09.19 - 2025.04.03

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

Repository (GitHub)

License

BSD-3-Clause (license)

Dependencies

build, build_config, meta, pubspec_parse, source_gen

More

Packages that depend on build_pubspec