Packages & Plugins

Use pub.dev packages and create your own

Packages extend Flutter with community-built functionality. Use pub.dev to find and publish packages.

Add packages from pub.dev to your project. Flutter pub add installs and updates pubspec.yaml automatically.

# Add a package
$ flutter pub add http
$ flutter pub add provider
$ flutter pub add shared_preferences

# pubspec.yaml (auto-updated)
dependencies:
  flutter:
    sdk: flutter
  http: ^1.2.0
  provider: ^6.1.0
  shared_preferences: ^2.2.0

# Get dependencies
$ flutter pub get
Popular Packages (pub.dev)
providerState3.2k
httpNetwork2.8k
shared_preferencesStorage2.5k
flutter_blocState2.1k
dioNetwork1.9k
google_fontsUI1.7k
pubspec.yaml
dependencies:
http: ^1.2.0
provider: ^6.1.0
Previous
35 / 35