local_first_sync 0.1.0
local_first_sync: ^0.1.0 copied to clipboard
Local-first sync for Dart and Flutter: offline writes, a crash-safe queue, dependency-ordered operations, temp-id rewriting, and pluggable conflict resolution.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add local_first_syncWith Flutter:
$ flutter pub add local_first_syncThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
local_first_sync: ^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:local_first_sync/local_first_sync.dart';