What is the pubspec.yaml file and what does it do? Technology Community › Category: Flutter › What is the pubspec.yaml file and what does it do? 0 Vote Up Vote Down VietMX Staff asked 4 years ago The pubspec.yaml file allows you to define the packages your app relies on, declare your assets like images, audio, video, etc. It allows you to set constraints for your app. For Android developers, this is roughly similar to a build.gradle file.