From the course: Flutter Essential Training: Build for Multiple Platforms

Unlock the full course today

Join today to access over 24,000 courses taught by industry experts.

Understanding the anatomy of a pubspec.yaml file

Understanding the anatomy of a pubspec.yaml file - Flutter Tutorial

From the course: Flutter Essential Training: Build for Multiple Platforms

Understanding the anatomy of a pubspec.yaml file

- [Instructor] In the beginning of the course, we briefly touched upon this file and stated its importance, but we did not go into the details. As mentioned earlier, it is kind of your configuration file that holds the information around the app and the libraries or dependencies of the app. But let's get into more details now. Right here you have the name and the description. So this is the name of the app. And here you describe a little few words about what kind of app this is. So here, this is a new Flutter project for LinkedIn Learning course. And then we have the version. This version will translate into app version for both Android and iOS. Here you can see that it's a version number that is three numbers separated by dots, which is 1.2.43. Here it's 1.0.0. In Android, build-name is versionName, and iOS, build-name is something CFBundleShortVersionString. So if you are familiar from any of the platforms, you will…

Contents