Skip to main content
← Master Flutter course Chapter 3

Dependency Management in Dart

Modern programs are incomplete without dependency management. Learning dependency management is another crucial step in learning Dart and Flutter.

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

Lessons in this chapter