toNullableColorStateList

@JvmName(name = "convertToNullableColorStateList")
fun Int.toNullableColorStateList(): ColorStateList?

Converts to AttrState.NORMAL state of ColorStateList.

If the current color is Color.TRANSPARENT will be return null.

Receiver

the current color.

Return

ColorStateList or null