pubspec_extract 1.2.0 pubspec_extract: ^1.2.0 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);
}