Settings Store
Component Detail
Data Layer
low complexity
mobile
0
Dependencies
2
Dependents
1
Entities
0
Integrations
Description
Local persistence layer for user application preferences using shared preferences or local SQLite. Stores display settings, language selection, biometric toggle state, and cached notification preferences. Provides reactive state access for the Settings BLoC to observe changes.
settings-store
Responsibilities
- Persist user preferences locally (shared preferences or SQLite)
- Provide reactive state streams for settings changes consumed by the BLoC layer
- Cache notification preferences for offline access
- Store language/locale selection driving the localization provider
Interfaces
getSetting(key)
setSetting(key, value)
getAllSettings()
watchSettings()
clearSettings()
getBiometricEnabled()
setBiometricEnabled(enabled)
getLocale()
setLocale(locale)
Relationships
Related Data Entities (1)
Data entities managed by this component