Search packages, repositories and app categories

Package detailsv13.0.1

firebase_database

Flutter plugin for Firebase Database, a cloud-hosted NoSQL database with realtime data syncing across Android and iOS clients, and offline access.

AndroidiOSWebmacOSWindows
30-day downloads
227K
Likes
650
Pub points
140

Install package

flutter pub add firebase_database

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Firebase Database is a Flutter plugin that provides real-time, cloud-hosted NoSQL database access for mobile and web apps. It enables seamless data synchronization across Android, iOS, Web, macOS, and Windows clients with built-in offline support. Data changes are instantly reflected in all connected devices, making it ideal for collaborative or live-updating applications. The plugin integrates directly with Firebase's ecosystem, offering secure, scalable backend functionality without requiring custom server infrastructure.

Use cases

  • Real-time chat applications
  • Live scoreboards and dashboards
  • Collaborative document editing
  • Offline-first mobile apps
  • Syncing user preferences across devices

Key features

  • Real-time data syncing
  • Offline data persistence
  • Cross-platform support
  • Simple JSON-based data structure
  • Secure access rules via Firebase Auth

Suitable for

  • Apps needing real-time updates
  • Developers using Firebase ecosystem
  • Projects requiring offline functionality
  • Startups building MVPs quickly
  • Teams prioritizing rapid development

Considerations

  • Requires Firebase project setup
  • Data structure must be flat for optimal performance
  • Potential for high bandwidth usage with frequent updates
  • Limited querying capabilities compared to SQL databases
  • Security rules must be carefully configured to prevent unauthorized access

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Flutter + Firebase logo

FlutterFire

Follow on Twitter Maintained with Melos OSSF scorecard


[Changelog] • [Packages]


FlutterFire is a set of Flutter plugins that enable Flutter apps to use Firebase services. You can follow an example that shows how to use these plugins in the Firebase for Flutter codelab.

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. Flutter is used by developers and organizations around the world, and is free and open source.


Documentation


Stable Plugins

Name pub.dev Firebase Product Documentation View Source Android iOS Web MacOS Windows
Analytics Analytics pub.dev badge 🔗 📖 firebase_analytics ✔ ✔ ✔ β N/A
App Check App Check pub.dev badge 🔗 📖 firebase_app_check ✔ ✔ ✔ β N/A
Authentication Authentication pub.dev badge 🔗 📖 firebase_auth ✔ ✔ ✔ β (*)
Cloud Firestore Cloud Firestore pub.dev badge 🔗 📖 cloud_firestore ✔ ✔ ✔ β (*)
Cloud Functions Cloud Functions pub.dev badge 🔗 📖 cloud_functions ✔ ✔ ✔ β N/A
Cloud Messaging Cloud Messaging pub.dev badge 🔗 📖 firebase_messaging ✔ ✔ ✔ β N/A
Cloud Storage Cloud Storage pub.dev badge 🔗 📖 firebase_storage ✔ ✔ ✔ β (*)
Core Core pub.dev badge 🔗 📖 firebase_core ✔ ✔ ✔ β (*)
Crashlytics Crashlytics pub.dev badge 🔗 📖 firebase_crashlytics ✔ ✔ N/A β N/A
Data Connect Data Connect pub.dev badge 🔗 📖 firebase_data_connect ✔ ✔ ✔ N/A N/A
In-App Messaging In-App Messaging pub.dev badge 🔗 📖 firebase_in_app_messaging ✔ ✔ N/A N/A N/A
Installations Installations pub.dev badge 🔗 📖 firebase_app_installations ✔ ✔ ✔ β N/A
Performance Monitoring Performance Monitoring pub.dev badge 🔗 📖 firebase_performance ✔ ✔ ✔ N/A N/A
Realtime Database Realtime Database pub.dev badge 🔗 📖 firebase_database ✔ ✔ ✔ β N/A
Remote Config Remote Config pub.dev badge 🔗 📖 firebase_remote_config ✔ ✔ ✔ β N/A

(*) for development only. Production on Windows is not supported.

Preview Plugins

Name pub.dev Firebase Product Documentation View Source Android iOS Web MacOS
ML Model Downloader (deprecated) ML Model Downloader pub.dev badge 🔗 📖 firebase_ml_model_downloader ✔ ✔ N/A β

Issues

Please file FlutterFire specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to FlutterFire can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

Categories

Dependencies

Dependency list 4 items

  • firebase_core^5.1.0
  • firebase_core_platform_interface^8.1.1
  • firebase_database_platform_interface^0.4.2+9
  • firebase_database_web^0.2.9+16

Source repository

Projects using this package