Flutter plugins that connect Flutter apps to Firebase products on mobile, web, and desktop targets, with CLI-assisted project configuration.
Overview
FlutterFire is a set of Flutter plugins that let Flutter applications use Firebase backend and client services. Each Firebase product typically has its own plugin package, and apps add the ones they need alongside a core initialization package.
Plugins are published for stable use across the platforms Firebase supports in Flutter, including Android, iOS, web, macOS, and Windows where noted for individual products. Because Flutter is multi-platform, adding a plugin generally applies to the platform variants of the same app rather than only one OS.
Getting started involves installing Flutter tooling, adding Firebase to the Flutter project, and running the FlutterFire CLI to generate a per-platform Firebase options file and wire apps to a Firebase project. Apps initialize Firebase at startup with those generated options, then call APIs from the product-specific plugins for auth, databases, messaging, analytics, and other services listed in the plugin matrix.
Documentation and codelabs walk through adding Firebase to a new or existing Flutter app. Web targeting includes optional controls for how Firebase JavaScript SDK scripts are injected or loaded manually when auto-injection is disabled.
Key features
- Plugins per Firebase product
- Multi-platform Flutter support
- FlutterFire CLI configuration
- Generated firebase options file
- Core init plus optional plugins
- Web JS SDK injection controls
- Firebase Local Emulator hook for demos
Use cases
- Mobile apps using Firebase Auth
- Flutter clients for Firestore data
- Cross-platform analytics and crash reporting
- Push messaging on Apple and Android