Sync Status Widget
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Home screen status bar widget that surfaces real-time sync state to the user, including pending mutation count, last successful sync timestamp, and dead-letter count. Consumes the SyncStateProvider Riverpod AsyncNotifier and updates reactively on state changes.
sync-status-widget
Responsibilities
- Display pending outbox item count sourced from SyncStateProvider
- Show last sync timestamp formatted for locale
- Indicate dead-letter items with a warning indicator and tap-to-detail action
- Show animated sync-in-progress indicator during active drain
Interfaces
SyncStatusWidget(provider: SyncStateProvider)
onDeadLetterTap() -> void