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

json_serializable

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

shared_preferences

Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.

routemaster

Easy-to-use Flutter router for web, mobile and desktop. URL-based routing, simple navigation of tabs and nested routes.

macos_ui

Flutter widgets and themes implementing the current macOS design language.

Trending packages

Top trending packages in the last 30 days

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 [...]

inject_generator

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

insert_affiliate_flutter_sdk

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

cli_launcher

CLI development utility to support launching locally installed versions.

http_client_interceptor

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

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

build_runner

A build system for Dart code generation and modular compilation.

stack_trace

A package for manipulating stack traces and printing them readably.

flutter_secure_storage

A Flutter plugin for securely storing sensitive data using encrypted storage.

characters

String replacement with operations that are Unicode/grapheme cluster aware.

permission_handler

Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.

geocoding

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

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.

math_expressions

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

timezone

Time zone databases and time zone aware `DateTime`.

hydrated_bloc

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

string_validator

Dart library for validating and sanitizing strings, especially those from user input.

web_socket_client

A simple WebSocket client for Dart which includes automatic reconnection logic.

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)
sensors_plus (Flutter Package of the Week)
Device_info (Flutter Package of the Week)