SantoButtonColor enum

按钮颜色,对标 antd Button 的 color;取主题里的语义色令牌

Inheritance
Available extensions

Values

neutral → const SantoButtonColor

中性色:文字/边框使用常规文字色,对标 antd 的 color="default"

primary → const SantoButtonColor

主题色

danger → const SantoButtonColor

失败色,用于删除、授权等风险操作

success → const SantoButtonColor

成功色

warning → const SantoButtonColor

警告色

info → const SantoButtonColor

信息色(取主题的辅助色 brandAuxiliary)

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<SantoButtonColor>
A constant List of the values in this enum, in order of their declaration.