offline_sync 0.0.1
offline_sync: ^0.0.1 copied to clipboard
A package designed to manage and synchronize data offline-first, ensuring seamless functionality independent of internet connectivity, with automatic syncing upon restoration of connection.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add offline_sync
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
offline_sync: ^0.0.1
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:offline_sync/offline_sync.dart';