AdaptiveThemeMode enum
Represents the mode of the theme.
Constructors
- AdaptiveThemeMode(String modeName)
-
const
Values
- light → const AdaptiveThemeMode
-
const AdaptiveThemeMode('Light')
- dark → const AdaptiveThemeMode
-
const AdaptiveThemeMode('Dark')
- system → const AdaptiveThemeMode
-
const AdaptiveThemeMode('System')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isDark → bool
-
no setter
- isLight → bool
-
no setter
- isSystem → bool
-
no setter
- modeName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
next(
) → AdaptiveThemeMode -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previous(
) → AdaptiveThemeMode -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AdaptiveThemeMode> - A constant List of the values in this enum, in order of their declaration.