offline_storage_sync 0.0.1 copy "offline_storage_sync: ^0.0.1" to clipboard
offline_storage_sync: ^0.0.1 copied to clipboard

A package that helps developers manage offline data storage and synchronization with a backend service.

Offline Storage Sync #

A Flutter package to manage offline data storage and synchronization with a backend service. It supports local databases, caching, and conflict resolution strategies.

Features #

  • Local storage with SQLite
  • Data caching with Hive
  • Backend synchronization
  • Conflict resolution strategies

Usage #

import 'package:offline_storage_sync/offline_storage_sync.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final localStorage = LocalStorage();
  await localStorage.init();

  final cacheStorage = CacheStorage();
  await cacheStorage.init();

  final syncService = SyncService(localStorage, cacheStorage, 'https://your-backend-url.com');

  runApp(MyApp(syncService: syncService));
}
4
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A package that helps developers manage offline data storage and synchronization with a backend service.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, hive, http, path, plugin_platform_interface, sqflite

More

Packages that depend on offline_storage_sync