screens/main/profile/preference_providers library
Classes
- PreferencesNotifier
- Resolves all preferences and re-resolves when the repository reports an update (a Remote Config sync or a local override change).
Extensions
- PreferenceReader on WidgetRef
- Ergonomic, typed access to a single preference from the widget tree.
Properties
-
preferencesProvider
→ AsyncNotifierProvider<
PreferencesNotifier, List< ResolvedPreference> > -
The resolved state of every preference, for the overrides debug screen.
final
-
preferenceValueProvider
→ ProviderFamily<
Object?, PrefKey> -
The effective value of a single preference, falling back to the key's
default while preferences are loading or absent.
final