The import
and library
directives can help you create a modular and shareable code base. Every Dart app is a library
, even if it doesn’t use a library directive. Libraries can be distributed using packages. See Pub Package and Asset Manager for information about pub, a package manager included in the SDK.