cloud_firestore_dart_flutterfire 0.1.0
cloud_firestore_dart_flutterfire: ^0.1.0 copied to clipboard
Unofficial bridge from the FlutterFire plugins (firebase_core, firebase_auth) to cloud_firestore_dart: reuse the FlutterFire app options and signed-in user in the pure-Dart Firestore client.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cloud_firestore_dart_flutterfireWith Flutter:
$ flutter pub add cloud_firestore_dart_flutterfireThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
cloud_firestore_dart_flutterfire: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cloud_firestore_dart_flutterfire/cloud_firestore_dart_flutterfire.dart';