Function

width

Sets the width of the content using RemoteDp.

width

Source set: JvmAndAndroid
public fun RemoteModifier.width(width: RemoteDp): RemoteModifier

Sets the width of the content using RemoteDp.

Parameters

width The width to apply in RemoteDp.

Return

a RemoteModifier that sets the width to width

width

Source set: JvmAndAndroid
public fun RemoteModifier.width(width: RemoteFloat): RemoteModifier

Sets the width of the content using RemoteFloat.

Parameters

width The width to apply in pixels.

Return

a RemoteModifier that sets the width to width

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: