ThemeManagerMode enum
An enum that has a 1 to 1 mapping to ThemeMode.light, dark and system.
This is for use in a ViewModel where there should be no reference to Flutter UI code like ThemeMode.
Constructors
- ThemeManagerMode()
-
const
Values
- light → const ThemeManagerMode
- dark → const ThemeManagerMode
- system → const ThemeManagerMode
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ThemeManagerMode> - A constant List of the values in this enum, in order of their declaration.