getOnBackground

abstract fun getOnBackground(): Color?

获取背景色上使用的颜色(OnBackground)。用于显示在背景色之上的文本和图标。

Return

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