firebase_database 7.0.0-dev.2 copy "firebase_database: ^7.0.0-dev.2" to clipboard
firebase_database: ^7.0.0-dev.2 copied to clipboard

outdated

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

Firebase Realtime Database for Flutter #

pub package

A Flutter plugin to use the Firebase Realtime Database API.

For Flutter plugins for other Firebase products, see README.md.

Usage #

To use this plugin, add firebase_database as a dependency in your pubspec.yaml file. You will also need the firebase_core dependency if you do not have it already.

Example connecting to the default database:

import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_database/firebase_database.dart';

final FirebaseApp app = FirebaseApp(name: '[DEFAULT]');
final DatabaseReference db = FirebaseDatabase(app: firebaseApp).reference();
db.child('your_db_child').once().then((result) => print('result = $result'));

Getting Started #

See the example directory for a complete sample app using Firebase Realtime Database.

Issues and feedback #

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.

To contribute a change to this plugin, please review our contribution guide and open a pull request.

587
likes
0
pub points
99%
popularity

Publisher

verified publisherfirebase.google.com

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

firebase_core, flutter

More

Packages that depend on firebase_database