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.


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


import 'package:offline_storage_sync/offline_storage_sync.dart';

void main() async {

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

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

  final syncService = SyncService(localStorage, cacheStorage, '');

  runApp(MyApp(syncService: syncService));