Function

drawWithContent

Creates a RemoteModifier that allows drawing with the component's content.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

drawWithContent

Android
public fun RemoteModifier.drawWithContent(
    onDraw: RemoteContentDrawScope.() -> Unit
): RemoteModifier

Creates a RemoteModifier that allows drawing with the component's content.

Parameters

onDraw The drawing block that provides access to RemoteContentDrawScope.