Dependencies are added via a YAML (Ain’t Markup Language) file called pubspec .yaml in the root of your project. This is similar to a gradle file in Android. The pubspec file uses Dart’s Pub package manager to declare and fetch dependencies. This same file can also be used to tell your app about assets like images and fonts.
See the Pub package manager appendix to learn more.
18.116.21.239