Cloud Firestore

What does it do?

Firestore is a flexible, scalable NoSQL cloud database to store and sync data. It keeps your data in sync across client apps through realtime listeners and offers offline support so you can build responsive apps that work regardless of network latency or Internet connectivity.


1. Add dependency

sdk: flutter
firebase_core: "^0.5.0"
cloud_firestore: "^0.14.0+2"

2. Download dependency

$ flutter pub get

3. (Web Only) Add the SDK

If using FlutterFire on the web, add the firebase-firestore JavaScript SDK to your index.html file:

<script src=""></script>
<script src=""></script>

4. Rebuild your app

Once complete, rebuild your Flutter application:

$ flutter run

Next Steps

Once installed, you're ready to start using Cloud Firestore in your Flutter Project. View the Usage documentation to get started.