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

flutter_svg

An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files.

share_plus

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

sensors_plus

Flutter plugin for accessing accelerometer, gyroscope, and magnetometer sensors.

routemaster

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

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

insert_affiliate_flutter_sdk

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

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

file_picker

A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.

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.

injectable

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

yaml

A parser for YAML, a human-friendly data serialization standard

smooth_page_indicator

Customizable animated page indicator with a set of built-in effects.

firebase_messaging

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

Top Dart packages

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

get_it

Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App"

chopper

Chopper is an http client generator using source_gen, inspired by Retrofit

lints

Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team.

code_builder

A fluent, builder-based library for generating valid Dart code.

copy_with_extension_gen

Generate type-safe copyWith extensions for annotated classes and record typedefs.

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