Function

background

Draws a solid color background behind the content.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

background

Android
public fun RemoteModifier.background(color: RemoteColor): RemoteModifier

Draws a solid color background behind the content.

Parameters

color The RemoteColor to use for the background.

background

Android
public fun RemoteModifier.background(remotePainter: RemotePainter): RemoteModifier

Draws a remotePainter behind the content.

Parameters

remotePainter The RemotePainter to use for the background.