Function

RemoteColor

Creates a RemoteColor from a literal Color value.

RemoteColor

Source set: Android
public fun RemoteColor(color: Color): RemoteColor

Creates a RemoteColor from a literal Color value.

Parameters

color The Color value.

Return

A RemoteColor representing the constant color.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: