SettingsProviderState class
Provides methods to change the User's settings.
NOTE: This provider only provides methods to change the settings, as the current settings can be inferred from the User object.
If you want to get the current settings, see userProvider.
Constructors
- SettingsProviderState(User? user, UserProvider controller, AppDirService appDirService)
- Provides methods to change the User's settings.
Properties
- appDirService ↔ AppDirService
-
The service used for accessing the app directory.
read / write
- controller ↔ UserProvider
-
The controller used for updating the user.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- user ↔ User?
-
The user to change the settings of.
read / write
Methods
-
clearCache(
) → Future< void> - Clears the cache.
-
deleteAccount(
) → Future< void> - Deletes the account from the server and clears the cache.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setTheme(
ThemeBase theme) → Future< void> - Sets the theme of the user.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited