flutter_smart_repository library
Classes
- ActionTypeAdapter
- CacheFailure
-
ConflictResolver<
T> - Interface for resolving conflicts between local and remote data.
- ConnectivityService
- ConnectivityServiceImpl
- EncryptionService
- Service responsible for managing encryption keys for secure storage.
- EncryptionServiceImpl
- Failure
-
HiveLocalDataSource<
T> -
A generic implementation of LocalDataSource using Hive.
Tis the entity type, which must have a registered Hive adapter. Generic Hive implementation with optional AES-256 encryption support. -
HiveOfflineQueue<
T> - Hive-backed implementation of OfflineQueue.
- Identifiable
- Interface to ensure an entity has a unique identifier.
-
LocalDataSource<
T> - NetworkFailure
-
OfflineAction<
T> - OfflineActionAdapter
-
OfflineQueue<
T> -
RemoteDataSource<
T> - ServerFailure
-
SmartRepository<
T> - Offline-first repository that coordinates local cache, remote API, and sync queue.
- SmartRepositoryInitializer
- Syncable
- Interface that entities must implement to support timestamp-based resolution.
-
SyncEngine<
T> -
SyncEvent<
T> - Data structure representing a single synchronization event.
- SyncInspector
- Singleton inspector to monitor sync activities across the app.
-
TimestampConflictResolver<
T extends Syncable> - Strategy that selects the version with the most recent timestamp.
Enums
- ActionType
- FetchPolicy
- SyncStatus
- Represents the status of a synchronization attempt.