Dependency management is a part of modern programming. Dart has pub for dependency management. In this chapter we will learn and use pub, Dart’s dependency management tool, through the dart pub (and flutter pub) commands.
Objectives
- Using pubspec.yaml
- Using pub CLI
- Dev dependency vs dependency
- Importing and using dependencies