cloud_firestore_dart_sqlite 0.1.3
cloud_firestore_dart_sqlite: ^0.1.3 copied to clipboard
The SQLite offline cache of cloud_firestore_dart on the Dart VM, in Flutter and in the browser (WebAssembly on IndexedDB or OPFS), on top of package:sqlite3.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate cloud_firestore_dart_sqliteUse it
The package has the following executables:
$ setup_web
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cloud_firestore_dart_sqliteWith Flutter:
$ flutter pub add cloud_firestore_dart_sqliteThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
cloud_firestore_dart_sqlite: ^0.1.3Alternatively, 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_sqlite/cloud_firestore_dart_sqlite.dart';