ChromaThemeMode enum
Defines the supported theme modes for Chroma Theme.
Values
- system → const ChromaThemeMode
-
Follows the system settings (Light or Dark).
- light → const ChromaThemeMode
-
Always use Light mode.
- dark → const ChromaThemeMode
-
Always use Dark mode.
- highContrast → const ChromaThemeMode
-
High contrast mode (Pure Black & High Visibility Colors).
- amoled → const ChromaThemeMode
-
AMOLED mode (Pure Black #000000 for OLED screens).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isDark → bool
-
Returns true if the mode is dark-based (dark, highContrast, amoled).
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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<
ChromaThemeMode> - A constant List of the values in this enum, in order of their declaration.