What is Pubspec file?

Every pub package needs some metadata so it can specify its dependencies. Pub packages that are shared with others also need to provide some other information so users can discover them. All of this metadata goes in the package’s pubspec: a file named pubspec. yaml that’s written in the YAML language .

Read more

What is Pubspec yaml?

The pubspec. yaml file is transversal to all apps and packages – it is where we add metadata to our project, stipulate the Dart and Flutter SDK constraints, manage the dependencies and also set Flutter-specific configurations.27 Eki 2020

Read more