getError

abstract fun getError(): Color?

获取错误色(Error)。用于指示组件中的错误,例如文本字段中的无效输入。

Return

当前的 Color,未定义时返回 null