Function

solidColor

Creates a solid color brush.

solidColor

Source set: JvmAndAndroid
public fun RemoteBrush.Companion.solidColor(color: RemoteColor): RemoteBrush

Creates a solid color brush.

Parameters

color color to apply

Return

a RemoteBrush that fills with 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: