Using packages

Packages & plugins

Using packages

Using packages

Searching for packages
Adding a package dependency to an app
Adding a package dependency to an app using flutter pub add
Removing a package dependency to an app using flutter pub remove
Conflict resolution

Developing new packages

Managing package dependencies and versions

Package versions
Updating package dependencies
Dependencies on unpublished packages

Examples

Example: Using the css_colors package
Example: Using the url_launcher package to launch the browser

Flutter supports using shared packages contributed by other developers
to the Flutter and Dart ecosystems. This allows quickly building
an app without having to develop everything from scratch.

What is the difference between a package
  and a plugin? A plugin is a type of
  package—the full designation is plugin package,
  which is generally shortened to plugin.