Function

size

Sets the width and height of the content.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

size

Android
public fun RemoteModifier.size(width: RemoteDp, height: RemoteDp): RemoteModifier

Sets the width and height of the content.

Parameters

width The width to apply.
height The height to apply.

size

Android
public fun RemoteModifier.size(size: RemoteDp): RemoteModifier

Sets both the width and height of the content to size.