Theme

主题。 可选的值为:primary, success, danger, warning, info, secondary, none. 默认为 primary, 为 none 时不显示侧边框。

see 整体结构说明

Entries

Link copied to clipboard
@SerialName(value = "primary")
PRIMARY
Link copied to clipboard
@SerialName(value = "success")
SUCCESS
Link copied to clipboard
@SerialName(value = "danger")
DANGER
Link copied to clipboard
@SerialName(value = "warning")
WARNING
Link copied to clipboard
@SerialName(value = "info")
INFO
Link copied to clipboard
@SerialName(value = "secondary")
SECONDARY
Link copied to clipboard
@SerialName(value = "none")
NONE

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Theme

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.