Skip to main content

flutter_offline_sync_core 0.1.0 copy "flutter_offline_sync_core: ^0.1.0" to clipboard
flutter_offline_sync_core: ^0.1.0 copied to clipboard

Offline-first sync engine for Flutter/Dart apps. Models writes as a DAG of Jobs and Steps so that dependent API calls (e.g. upload image -> use its URL in a follow-up request) can be queued offline, e [...]

0.1.0 #

Initial public release.

Features #

  • Job/Step write queue with SyncEngine and Drift-backed SyncDatabase
  • JobBuilder for enqueueing multi-step DAGs (dependsOn, cross-job deps)
  • Partial retry: successful steps keep output; only failed steps re-run
  • Conflict handling via SyncStepResult.conflict + resolveConflict
  • syncAll auto-requeues retryable failed jobs (respects retry budget / backoff)
  • isSyncing / isSyncingStream for foreground busy UI
  • Interrupted-work recovery (recoverInterruptedWork) for stuck running rows
  • Cross-isolate DB lock + coalescing concurrent syncAll calls
  • pruneCompletedJobs to bound history of success/cancelled jobs
  • Free-form job meta for UI labels

Notes #

  • Requires Drift codegen artifacts (lib/src/db/database.g.dart is included)
0
likes
0
points
--
downloads

Documentation

Documentation

Publisher

verified publisherlidhin.com

Offline-first sync engine for Flutter/Dart apps. Models writes as a DAG of Jobs and Steps so that dependent API calls (e.g. upload image -> use its URL in a follow-up request) can be queued offline, executed in order when connectivity returns, retried partially on failure, and paused on conflict.

Homepage
Repository (GitHub)
View/report issues

Topics

#offline #sync #drift #outbox #flutter

License

unknown (license)

Dependencies

drift, meta, path, path_provider, sqlite3, sqlite3_flutter_libs, uuid

More

Packages that depend on flutter_offline_sync_core