Function

fillMaxWidth

Fills the maximum available width.

fillMaxWidth

Source set: JvmAndAndroid
public fun RemoteModifier.fillMaxWidth(fraction: RemoteFloat = RemoteFloat(1f)): RemoteModifier

Fills the maximum available width.

Parameters

fraction The fraction of the maximum width to use.

Return

a RemoteModifier that fills fraction of the maximum available 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: