pub.flutter-io.cn 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.

characters

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

sensors_plus

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

auto_size_text

Flutter widget that automatically resizes text to fit perfectly within its bounds.

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_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

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.

dropdown_button2

Flutter's core Dropdown Button widget with a steady dropdown menu and many other options you can customize to your needs.

in_app_purchase

A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.

sensors_plus

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

crypto

Implementations of SHA, MD5, and HMAC cryptographic functions.

shared_preferences

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

Top Dart packages

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

uuid

RFC4122 (v1, v4, v5, v6, v7, v8) UUID Generator and Parser for Dart

copy_with_extension_gen

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

logging

Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger.

bloc

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

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"

qr

A QR code generation library for Dart. Supports QR code version 1 through 40, error correction and redundancy.

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)
widgetbook (Package of the Week)
record (Package of the Week)
Gap (Package of the Week)