MiuixColorSchemeMode enum

配色模式。对应 Kotlin ColorSchemeMode

  • system/light/dark:使用静态 light/dark 配色(跟随系统或强制)。
  • monetSystem/monetLight/monetDark:动态取色(Monet)。有 keyColor 时按 种子生成;无 keyColor 时读平台壁纸(Android),其他平台回退固定种子。
Inheritance
Available extensions

Values

system → const MiuixColorSchemeMode
light → const MiuixColorSchemeMode
dark → const MiuixColorSchemeMode
monetSystem → const MiuixColorSchemeMode
monetLight → const MiuixColorSchemeMode
monetDark → const MiuixColorSchemeMode

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<MiuixColorSchemeMode>
A constant List of the values in this enum, in order of their declaration.