Skip to main content

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

shared_preferences

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

fpdart

Functional programming in Dart and Flutter. All the main functional programming types and patterns fully documented, tested, and with examples.

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.

network_info_plus

Flutter plugin for discovering information (e.g. WiFi details) of the network.

Trending packages

Top trending packages in the last 30 days

relic_headers

HTTP header names and stores shared by Relic adapters and other packages.

fresh_http

An auto-refreshing http client. Built on top of package:http and manages authentication tokens transparently.

sprig_flutter_plugin

Sprig Flutter plugin.

dap_adapters

Dart Debug Adapter Protocol (DAP) adapters translating the DAP protocol to the Dart VM Service protocol.

tar

Memory-efficient, streaming implementation of the tar file format

shorebird_ci

CI tooling for Dart and Flutter monorepos. Generates GitHub Actions workflows, resolves affected packages via dependency graphs, and verifies path filters stay in sync.

Top Flutter packages

Some of the top packages that extend Flutter with new features

crypto

Implementations of SHA, MD5, and HMAC cryptographic functions.

window_manager

This plugin allows Flutter desktop apps to resizing and repositioning the window.

pigeon

Code generator tool to make communication between Flutter and the host platform type-safe and easier.

gap

Flutter widgets for easily adding gaps inside Flex widgets such as Columns and Rows or scrolling views.

shared_preferences

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

flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple

Top Dart packages

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

riverpod

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

build_runner

A build system for Dart code generation and modular compilation.

mocktail

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

string_validator

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

dio

A powerful HTTP networking package, supports Interceptors, Aborting and canceling a request, Custom adapters, Transformers, etc.

flutter_lints

Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.

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)
camera (Package of the Week)
flutter_rating_bar (Package of the Week)
mason (Package of the Week)