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

win32

Access common Win32 APIs directly from Dart using FFI — no C required!

shared_preferences

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

googleapis

Auto-generated client libraries for accessing Google APIs described through the API discovery service.

sensors_plus

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

Trending packages

Top trending packages in the last 30 days

native_synchronization_temp

Low level synchronization primitives built on dart:ffi.

dcli_common

Common code used by multiple dcli packages.

dcli_terminal

Provides Terminal/Ansi functions used by DCli the Dart Console SDK but is also intended to be used directly.

pubspec_manager

Read, write and modify a pubspec.yaml with a type safe API including retention and modifications of comments and out of spec content.

simple_sparse_list

A simple and efficient implementation of an unmodifiable sparse list based on the binary search algorithm.

strings

Large collection of String functions aimed at extending the String class whilst providing safer methods for working with nullable Strings.

Top Flutter packages

Some of the top packages that extend Flutter with new features

crypto

Implementations of SHA, MD5, and HMAC cryptographic functions.

infinite_scroll_pagination

Lazily load and display pages of items as the user scrolls down your screen.

mason

A Dart template generator which helps teams generate files quickly and consistently.

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.

mocktail

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

mime

Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.

Top Dart packages

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

retry

Utility for wrapping an asynchronous function in automatic retry logic with exponential back-off, useful when making requests over network.

graphql_codegen

Simple, opinionated, codegen library for GraphQL. It allows you to generate serializers and client helpers to easily call and parse your data.

state_notifier

ValueNotifier, but outside Flutter and with some extra perks

lints

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

sembast

NoSQL persistent embedded file system document-based database for Dart VM and Flutter with encryption support.

stack_trace

A package for manipulating stack traces and printing them readably.

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)
widgetbook (Package of the Week)
video_player (Package of the Week)
Firebase UI for Auth (Package of the Week)