typedPreferenceStoreProvider top-level property

Provider<TypedPreferenceStore> typedPreferenceStoreProvider
final

Provides the TypedPreferenceStore backed by the app's SharedPreferencesAsync singleton.

Implementation

final typedPreferenceStoreProvider = Provider<TypedPreferenceStore>((ref) {
  return TypedPreferenceStore(ref.watch(sharedPreferencesProvider));
});