Skip to the workspace
Pebellslearn by building
Package Managers  ›  Lesson

Choosing a Package on pub.dev

pub.dev 12 minpub.dev is the official repository of Dart and Flutter packages, and each package page shows signals such as likes, pub points, downloads, supported platforms and the publisher that help you judge it before depending on it.

flutter / Choosing a Package on pub.dev

Explore each scene at your own pace.

01 · The rule

The rule

Choosing a Package on pub.dev

Sprout needs to send a notification when a plant is due. You could write that yourself for Android and iOS, or reuse a package that thousands of apps already rely on. pub.dev is where Dart and Flutter packages are published. Adding one takes seconds; picking the right one takes a minute of judgement.

The rule

Check platform, health and publisher before popularity.

Every package page on pub.dev shows signals at the top:

  • Platform tags: Android, iOS, Web, Windows, macOS, Linux. If a platform you ship on is missing, stop there.
  • Pub points: a score from automated checks on documentation, code analysis, platform support and up-to-date dependencies.
  • Likes and downloads: how many developers use or appreciate it.
  • Publisher: a verified publisher, shown with a badge and a domain, tells you who stands behind the package.
  • Versions and changelog: recent releases suggest it is maintained.
  • The Example, Installing and Versions tabs, plus a link to the source repository and its issues.

Some packages are also marked Flutter Favorite, a label given to packages the Flutter team recommends for quality.

A package page also says whether it is a Dart package (works anywhere Dart runs) or a Flutter plugin (contains platform code, so a full rebuild is needed after adding it).

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.