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

bloc

A predictable state management library that helps implement the BLoC (Business Logic Component) design pattern.

built_value_generator

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

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.

cloud_firestore

Flutter plugin for Cloud Firestore, a cloud-hosted, noSQL database with live synchronization and offline support on Android and iOS.

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_logger

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

http_client_interceptor

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

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

http

A composable, multi-platform, Future-based API for HTTP requests.

injectable

Injectable is a convenient code generator for get_it. Inspired by Angular DI, Guice DI and inject.dart.

timeago

A library useful for creating fuzzy timestamps. (e.g. "15 minutes ago")

url_launcher

Flutter plugin for launching a URL. Supports web, phone, SMS, and email schemes.

petitparser

Build fast, composable, and type-safe grammars and parsers in Dart.

flutter_keyboard_visibility

Flutter plugin for discovering the state of the soft-keyboard visibility on Android and iOS.

Top Dart packages

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

path

A string-based path manipulation library. All of the path operations you know and love, with solid support for Windows, POSIX (Linux and Mac OS X), and the web.

shelf

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

markdown

A portable Markdown library written in Dart that can parse Markdown into HTML.

pool

Manage a finite pool of resources. Useful for controlling concurrent file system or network requests.

sqflite_common_ffi

sqflite ffi based implementation, for desktop and units tests.

pub_semver

Versions and version constraints implementing pub's versioning policy. This is very similar to vanilla semver, with a few corner cases.

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)
Badges (Package of the Week)
font_awesome_flutter (Flutter Package of the Week)