Skip to content

flutter_offline_syncOffline-first sync for Flutter

Queue offline writes, retry with dependencies, and pull server data into your local database — without replacing your app architecture.

Flutter offline sync — phone, local database, and offline indicator

Packages ​

PackageRole
flutter_offline_sync_coreWrite queue — SyncEngine, jobs/steps, Drift outbox
flutter_offline_sync_pushWorkmanager + connectivity for push
flutter_offline_sync_pullPull coordinator — lists, batches, checkpoints
flutter_offline_sync_pull_flutterWorkmanager + connectivity for pull
flutter_offline_sync_uiSync status widgets

Choose your path ​

  • New here? — Introduction → Installation → Quick Start
  • Push only — add flutter_offline_sync_push for offline writes and background sync
  • Pull only — add flutter_offline_sync_pull_flutter for server-to-device ingest
  • Full stack — both adapters + optional flutter_offline_sync_ui

Prefer the runnable Offline Notes example (examples/notes_app) to see App DB + push + pull + UI together.

See Choosing Push or Pull for a decision table.

Released under the MIT License.