What is Pubspec?

The pubspec file specifies dependencies that the project requires, such as particular packages (and their versions), fonts, or image files . It also specifies other requirements, such as dependencies on developer packages (like testing or mocking packages), or particular constraints on the version of the Flutter SDK.

Read more