presentation/providers/user_prefs_provider library

Classes

LastActiveOrgId
Last org the user was looking at in org-mode. Used to restore the correct active org when the mode-toggle flips back to org shell or after restart.
LastActiveOrgIdProvider
Last org the user was looking at in org-mode. Used to restore the correct active org when the mode-toggle flips back to org shell or after restart.
LastUsedMode
Last mode the user was in ('personal' or 'org'). Determines where admins land after login — members always get 'personal'.
LastUsedModeProvider
Last mode the user was in ('personal' or 'org'). Determines where admins land after login — members always get 'personal'.
LocalePref
User-selected UI language. null means "follow the device locale" — the root MaterialApp.locale is left null and Flutter resolves against AppLocalizations.supportedLocales. Persisted to SharedPreferences.
LocalePrefProvider
User-selected UI language. null means "follow the device locale" — the root MaterialApp.locale is left null and Flutter resolves against AppLocalizations.supportedLocales. Persisted to SharedPreferences.
MasteryIntroSeen
Whether the user has dismissed the one-time mastery-ladder intro banner shown at the top of TopicTreeScreen. The standalone /onboarding/mastery screen was removed in favour of this contextual banner — the explanation lands the moment the user opens their first domain's topic tree, then never again.
MasteryIntroSeenProvider
Whether the user has dismissed the one-time mastery-ladder intro banner shown at the top of TopicTreeScreen. The standalone /onboarding/mastery screen was removed in favour of this contextual banner — the explanation lands the moment the user opens their first domain's topic tree, then never again.
ReviewIntroSeen
Whether the user has dismissed the one-time spaced-repetition intro banner shown at the top of ReviewSessionScreen. The standalone /onboarding/review screen was removed in favour of this contextual banner — the explanation lands the moment the user enters their first review session, then never again.
ReviewIntroSeenProvider
Whether the user has dismissed the one-time spaced-repetition intro banner shown at the top of ReviewSessionScreen. The standalone /onboarding/review screen was removed in favour of this contextual banner — the explanation lands the moment the user enters their first review session, then never again.
ThemeModePref
User-selected theme (System / Light / Dark). Persisted to SharedPreferences so the choice survives restart. Watched by the root MaterialApp.themeMode in main.dart.
ThemeModePrefProvider
User-selected theme (System / Light / Dark). Persisted to SharedPreferences so the choice survives restart. Watched by the root MaterialApp.themeMode in main.dart.
UserPrefsDatasourceProvider

Properties

lastActiveOrgIdProvider → LastActiveOrgIdProvider
Last org the user was looking at in org-mode. Used to restore the correct active org when the mode-toggle flips back to org shell or after restart.
final
lastUsedModeProvider → LastUsedModeProvider
Last mode the user was in ('personal' or 'org'). Determines where admins land after login — members always get 'personal'.
final
localePrefProvider → LocalePrefProvider
User-selected UI language. null means "follow the device locale" — the root MaterialApp.locale is left null and Flutter resolves against AppLocalizations.supportedLocales. Persisted to SharedPreferences.
final
masteryIntroSeenProvider → MasteryIntroSeenProvider
Whether the user has dismissed the one-time mastery-ladder intro banner shown at the top of TopicTreeScreen. The standalone /onboarding/mastery screen was removed in favour of this contextual banner — the explanation lands the moment the user opens their first domain's topic tree, then never again.
final
reviewIntroSeenProvider → ReviewIntroSeenProvider
Whether the user has dismissed the one-time spaced-repetition intro banner shown at the top of ReviewSessionScreen. The standalone /onboarding/review screen was removed in favour of this contextual banner — the explanation lands the moment the user enters their first review session, then never again.
final
themeModePrefProvider → ThemeModePrefProvider
User-selected theme (System / Light / Dark). Persisted to SharedPreferences so the choice survives restart. Watched by the root MaterialApp.themeMode in main.dart.
final
userPrefsDatasourceProvider → UserPrefsDatasourceProvider
final

Functions

userPrefsDatasource(Ref ref) → UserPrefsDatasource