sync_repository 1.2.0 copy "sync_repository: ^1.2.0" to clipboard
sync_repository: ^1.2.0 copied to clipboard

Offline-first sync layer for Flutter apps. Wraps a remote repository with a local SharedPreferences store and a SyncRepository.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add sync_repository

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  sync_repository: ^1.2.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:sync_repository/sync_repository.dart';
0
likes
150
points
15
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Offline-first sync layer for Flutter apps. Wraps a remote repository with a local SharedPreferences store and a SyncRepository.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta, shared_preferences

More

Packages that depend on sync_repository