discontinuedPackage typed_config_riverpod has been discontinued.
typed_config_riverpod
library
Classes
-
Config
-
Central application configuration engine managing in-memory cache,
debounced atomic disk writes, and cross-platform file synchronization.
-
ConfigEntry<T>
-
A strongly-typed configuration entry with fallback defaults and serialization rules.
-
ConfigNotifier<T>
-
A Riverpod
Notifier that manages a single persistent configuration entry.
Functions
-
configEntryProvider<T>({required String key, required T defaultValue, T fromJson(dynamic json)?, dynamic toJson(T value)?})
→ NotifierProvider<ConfigNotifier<T>, T>
-
Creates a strongly-typed, persistent
NotifierProvider for a configuration entry.
-
configEntryProviderFromEntry<T>(ConfigEntry<T> entry)
→ NotifierProvider<ConfigNotifier<T>, T>
-
Creates a persistent
NotifierProvider from an existing ConfigEntry.
-
flattenConfigMap(Map<String, dynamic> nested, [String prefix = ''])
→ Map<String, dynamic>
-
Recursively flattens a nested map into a flat map with dot-separated keys.
-
unflattenConfigMap(Map<String, dynamic> flat)
→ Map<String, dynamic>
-
Recursively un-flattens a flat map with dot-separated keys into a nested map structure.
Typedefs
-
ConfigMigrator
= void Function(Map<String, dynamic> raw)
-
Function signature for migrating raw configuration JSON maps between schema versions.