Every Flutter project includes a pubspec. yaml file, often referred to as the pubspec. A basic pubspec is generated when you create a new Flutter project. ... The pubspec file specifies dependencies that the project requires, such as particular packages (and their versions), fonts, or image files.