Function

asConstantColorOrNull

Converts this RemoteColor to a Color if it has a constant value, or null otherwise.

asConstantColorOrNull

Source set: Android
public fun RemoteColor.asConstantColorOrNull(): Color?

Converts this RemoteColor to a Color if it has a constant value, or null otherwise.

Content updated: