ThemeProvider class Null safety
Constructors
- ThemeProvider(dynamic _userPreferences)
Properties
- colorTag → String
-
read-only
- currentTheme → String
-
read-only
- currentThemeMode → dynamic
-
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
isDarkMode(
dynamic context) → bool -
materialColor(
dynamic context) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setColorTag(
String value) → Future< void> -
setTheme(
String value) → Future< void> -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited