repositories/preferences_repository library

Classes

PreferencesRepository
Manages app preferences and resolves each through a layered source stack.
ResolvedPreference
A preference's resolved value and the source that produced it.
TypedPreferenceStore
A typed wrapper over SharedPreferencesAsync, keyed by PrefKey.

Enums

PrefKey<T>
Typed preference keys with defaults.
PrefSource
Where a preference's effective value came from.
PrefType
SharedPreferences value type, used to dispatch to the correct accessor.

Constants

defaultISchoolPlusNetworkGuideUrl → const String

Properties

preferencesRepositoryProvider → Provider<PreferencesRepository>
Provides the PreferencesRepository instance.
final
typedPreferenceStoreProvider → Provider<TypedPreferenceStore>
Provides the TypedPreferenceStore backed by the app's SharedPreferencesAsync singleton.
final

Functions

iSchoolPlusNetworkGuideUri(String configuredUrl) → Uri