D.7. How do I add dependencies (like Cocoa Pods)?

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 Podfile in iOS. 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.

Note

See the Pub package manager appendix to learn more.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.242.175