pub.dev package manager

The official package repository for Dart and Flutter apps.

Supported by Google

Flutter Favorites

Some of the packages that demonstrate the highest levels of quality, selected by the Flutter Ecosystem Committee

connectivity_plus

Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.

sentry_flutter

Sentry SDK for Flutter. This package aims to support different Flutter targets by relying on the many platforms supported by Sentry with native SDKs.

toggle_switch

Toggle Switch - A simple toggle switch widget. It can be fully customized with desired icons, width, colors, text, corner radius etc. It also maintains selection state.

built_value_generator

Value types with builders, Dart classes as enums, and serialization. This library is the dev dependency.

Trending packages

Top trending packages in the last 30 days

convertlib

Fast and error resilient codecs. Supports Base2, Base8, Base16, Base32, Base64, BigInt, UTF-8, and the PHC/crypt string format.

fluttersdk_wind_diagnostics_contracts

Wind UI widget state contracts for Flutter debug-tooling and AI agents (MCP). Zero-dep abstract interface implemented in fluttersdk_wind, consumed in fluttersdk_dusk.

fluttersdk_wind

Tailwind CSS for Flutter. Write className='flex p-4 bg-white dark:bg-gray-800' and Wind renders optimized widget trees with dark mode and responsive breakpoints.

geocoding_darwin

A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features for iOS and macOS.

camera_android

Android implementation of the camera plugin.

charlatan

A library for configuring and providing fake HTTP responses to your dio HTTP client.

Top Flutter packages

Some of the top packages that extend Flutter with new features

intl

Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues.

pdf

A pdf producer for Dart. It can create pdf files for both web or flutter.

xml

Full-featured XML for Dart — DOM parsing, SAX streaming, XPath 3 querying, and a fluent builder API.

petitparser

A dynamic parser framework to build efficient grammars and parsers quickly.

pin_code_fields

A highly customizable PIN/OTP input field for Flutter with Material Design support and headless core for custom UIs.

firebase_crashlytics

Flutter plugin for Firebase Crashlytics. It reports uncaught errors to the Firebase console.

Top Dart packages

Some of the top packages for any Dart-based app or program

mocktail

A Dart mock library which simplifies mocking with null safety support and no manual mocks or code generation.

logging

Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger.

math_expressions

A library for parsing and evaluating mathematical expressions, supporting real numbers, vectors, and basic interval arithmetic.

diacritic

Removes common accents and diacritical signs from a string by replacing them with an equivalent character.

dartx

Superpowers for Dart. Collection of useful static extension methods.

ansicolor

Looking to add some color to your terminal logs? `ansicolor` is an xterm-256 color support library that lets you change the foreground and background color of your text.

Package of the Week

Package of the Week is a series of quick, animated videos, each of which covers a particular package

dart_mcp (Package of the Week)
firebase_ai (Package of the Week)
flutter_rating_bar (Package of the Week)
camera (Package of the Week)