Function

widthIn

Sets the minimum and maximum width of the content.

widthIn

Source set: JvmAndAndroid
public fun RemoteModifier.widthIn(min: RemoteDp? = null, max: RemoteDp? = null): RemoteModifier

Sets the minimum and maximum width of the content.

Parameters

min The minimum width.
max The maximum width.

Return

a RemoteModifier that constrains the width between min and max

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: