pubspec_extract 2.0.1 pubspec_extract: ^2.0.1 copied to clipboard
Extracts Dart pubspec.yaml file and generate pubspec.dart at build time
Example main.dart #
import 'pubspec.dart' as pubspec; // May not exist but it's okay!
void main() {
print(pubspec.name);
print(pubspec.description);
print(pubspec.version);
}