flutter_offline_first_sync 0.1.0
flutter_offline_first_sync: ^0.1.0 copied to clipboard
Offline-first sync engine for Flutter: durable outbox, dependency-aware push with id remapping, resumable pull, retries, conflict resolution, and status streams.
0.1.0 #
First version.
SyncEnginewith a durable outbox, dependency-aware push, local↔server id mapping and reference rewriting (including nested list paths).- Resumable, parents-first pull with conflict resolution
(
keepLocal,serverWins,lastWriteWins, custom merge). - Coalescing of unpushed changes; editing a failed record re-queues it.
- Retry with exponential backoff; network errors never count as attempts; failed operations are kept until retried or discarded.
- Idempotency keys and "already exists → adopt" handling.
InMemorySyncStoreandSqlSyncStore(drift, sqflite, any SQLite).RestRemoteAdapterwith page andupdatedSincepagination.- Automatic triggers: after writes, on reconnect, on resume, periodic.
SyncStatusBuilderandRecordSyncStateBuilderwidgets.