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

firebase_messaging

Flutter plugin for Firebase Cloud Messaging, a cross-platform messaging solution that lets you reliably deliver messages on Android and iOS.

json_serializable

Automatically generate code for converting to and from JSON by annotating Dart classes.

geolocator

Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.

just_audio

A feature-rich audio player for Flutter. Loop, clip and sequence any sound from any source (asset/file/URL/stream) in gapless playlists.

Trending packages

Top trending packages in the last 30 days

insert_affiliate_flutter_sdk

A Flutter SDK for integrating affiliate tracking and in-app purchases for the Insert Affiliate Platform.

serverpod_argon2

Argon2 password hashing (argon2id, argon2i, argon2d) backed by the Zig standard library. Ships prebuilt native libraries for Dart and Flutter and a WebAssembly module for the web, so no local toolchai [...]

http_client_interceptor

A Dart package for intercepting and modifying HTTP requests and responses, useful for logging, authentication, and error handling.

http_client_logger

Dart package that seamlessly adds HTTP traffic logging to your Dart or Flutter project.

inject_generator

Source code generator for inject_annotation. Reads @inject, @component, and @module annotations and generates fully wired dependency components at build time.

inject_flutter

Flutter integration for inject_annotation. Provides ViewModelFactory and ViewModelBuilder to inject ViewModels into widgets with automatic lifecycle management, plus SubcomponentBuilder to own a @subc [...]

Top Flutter packages

Some of the top packages that extend Flutter with new features

connectivity_plus

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

shelf

A model for web server middleware that encourages composition and easy reuse.

auto_route

AutoRoute is a declarative routing solution, where everything needed for navigation is automatically generated for you.

pinput

Pin code input (OTP) text field, iOS SMS autofill, Android SMS autofill One Time Code, Password, Passcode, Captcha, Security, Coupon, Wowcher, 2FA, Two step verification

mime

Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.

riverpod

A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.

Top Dart packages

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

image

Dart Image Library provides server and web apps the ability to load, manipulate, and save images with various image file formats.

hydrated_bloc

An extension to the bloc state management library which automatically persists and restores bloc states.

dart_mappable

Improved json serialization and data classes with full support for generics, inheritance, customization and more.

qr

A QR code generation library for Dart. Supports QR code version 1 through 40, error correction and redundancy.

lint

An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter

envied

Explicitly reads environment variables into a dart file from a .env file for more security and faster start up times.

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_lints (Package of the Week)
feedback (Package of the Week)