Skip to content

Glossary: Dart Basics

dart pub

Also written: dart pub add, dart pub get

Commands for managing packages. `dart pub add intl` adds a package, and `dart pub get` downloads whatever pubspec.yaml lists.

Where the book teaches it

Related terms

packagepubspec.yamlpub.devpubspec.lock