Function

size

Sets the width and height of the content.

size

Source set: 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

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

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

Last updated: