What is the pubspec.yaml file and what does it do?

Technology CommunityCategory: FlutterWhat is the pubspec.yaml file and what does it do?
VietMX Staff asked 3 years ago

The Pubspec.yaml allows you to define the packages your app relies on, declare your assets like images, audio, video, etc. It also allows you to set constraints for your app. For Android developers, this is roughly similar to a build.gradle file, but the differences between the two are also evident.