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