Preferences¶
Source: ui/preferences.py
Access to the shared Flet preferences store used for persistent application settings. Theme, TTS, and learn-retry keys and runtime ownership are in State and persistence (Theming, Text to speech, Learning); see also App theme, TTS preferences, and Learn preferences.
Create accessors for Flet's persistent shared-preferences service.
get_shared_preferences ¶
Create a standalone shared-preferences service.
Returns:
| Type | Description |
|---|---|
SharedPreferences
|
A service instance for persistent application preference operations. |