QudsThemeProvider class
A QudsProvider with ability to control the theme.
- Inheritance
-
- Object
- QudsProvider
- QudsThemeProvider
Constructors
Properties
-
asPlatform
↔ QudsValue<
bool?> -
Weather the app theme matches the platform brightness
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isDark
↔ QudsValue<
bool> -
The darkness of the app
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addWatcher(
Function watcher) → void -
Add custom watcher to be fired in any reported change
inherited
-
fireWatchers(
) → void -
Fire the watchers
inherited
-
fromMap(
Map map) → void -
Restore the saved state
inherited
-
getValues(
) → List< QudsValue> -
Gets the desired list of
QudsValue
to be watched.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeWatcher(
Function watcher) → void -
Remove an inserted watcher, to stop firing it in any reported change.
inherited
-
toSerializableMap(
) → Map -
Get the state of this provider as map to be serialized
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited