themeModePrefProvider top-level property
- @ProviderFor.new(ThemeModePref)
final
User-selected theme (System / Light / Dark). Persisted to
SharedPreferences so the choice survives restart. Watched by the
root MaterialApp.themeMode in main.dart.
Copied from ThemeModePref.
Implementation
@ProviderFor(ThemeModePref)
final themeModePrefProvider =
AsyncNotifierProvider<ThemeModePref, ThemeMode>.internal(
ThemeModePref.new,
name: r'themeModePrefProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null
: _$themeModePrefHash,
dependencies: null,
allTransitiveDependencies: null,
);