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 - 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
-
-
-
-
-
-
-
Organizing the styles and colors for the login page9m 9s
-
(Locked)
Organizing the styles and colors for the chat page4m 15s
-
(Locked)
Understanding the anatomy of a pubspec.yaml file5m 4s
-
(Locked)
Exploring pub.dev3m 24s
-
(Locked)
Plugins vs. packages2m 22s
-
(Locked)
Adding plugins to your app from pub.dev4m 29s
-
(Locked)
Adding packages from external sources6m 35s
-
(Locked)
Modeling entities in Dart7m 2s
-
(Locked)
Generics in Dart10m 40s
-
(Locked)
JSON: Serialization vs. deserialization2m 16s
-
(Locked)
Reading data from a JSON file13m 25s
-
(Locked)
Improving UI with box constraints4m 42s
-
(Locked)
Calling a parent class method from child class4m 30s
-
-
-
-