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.

flutter_bloc

Flutter widgets that make it easy to implement the BLoC (Business Logic Component) design pattern. Built to be used with the bloc state management package.

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.

package_info_plus

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

Trending packages

Top trending packages in the last 30 days

camera_extended_android

Android implementation of camera_extended plugin with native aspect ratio support (16:9, 4:3, 1:1).

camera_extended_platform_interface

Platform interface for camera_extended plugin with native aspect ratio support (16:9, 4:3, 1:1).

camera_extended

Extended Flutter camera plugin with native aspect ratio support (16:9, 4:3, 1:1). Fork of the official camera package with sensor-level aspect ratio configuration.

camera_extended_ios

iOS implementation of camera_extended plugin with native aspect ratio support (16:9, 4:3, 1:1).

unity_kit

Flutter plugin for Unity 3D integration — typed bridge, lifecycle management, and communication layer.

flutter_bicubic_resize

Fastest image resize, crop and compress for Flutter. 3-4x faster than other libraries. Native C code, consistent results on iOS/Android.

Top Flutter packages

Some of the top packages that extend Flutter with new features

firebase_core

Flutter plugin for Firebase Core, enabling connecting to multiple Firebase apps.

bot_toast

A really easy to use flutter toast library.Easy to use and feature rich.

pretty_dio_logger

Pretty Dio logger is a Dio interceptor that logs network calls in a pretty, easy to read format.

font_awesome_flutter

The Font Awesome Icon pack available as Flutter Icons. Provides 2000 additional icons to use in your apps.

ffi

Utilities for working with Foreign Function Interface (FFI) code.

local_auth

Flutter plugin to allow local authentication via biometrics, passcode, pin, or pattern.

Top Dart packages

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

mocktail

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

postgres

PostgreSQL database driver. Supports binary protocol, connection pooling and statement reuse.

dio_cache_interceptor

Dio HTTP cache interceptor with multiple stores respecting HTTP directives (or not).

shelf_web_socket

A shelf handler that wires up a listener for every connection.

retrofit_generator

retrofit generator is an dio client generator using source_gen and inspired by Chopper and Retrofit.

code_builder

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

Package of the Week

Package of the Week is a series of quick, animated videos, each of which covers a particular package

camera (Package of the Week)
record (Package of the Week)
mason (Package of the Week)
firebase_auth (Package of the Week)