size
Source set: JvmAndAndroid
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. |
Return
a RemoteModifier that sets the size to width by height
size
Source set: JvmAndAndroid
public fun RemoteModifier.size(size: RemoteDp): RemoteModifier
Sets both the width and height of the content to size.
Parameters
| size | The width and height to apply in RemoteDp. |
Return
a RemoteModifier that sets both width and height to size