Function

fillMaxSize

Fills the parent's maximum available width and height.

fillMaxSize

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

Fills the parent's maximum available width and height.

Parameters

fraction The fraction of the parent's maximum size to use.

Return

a RemoteModifier that fills fraction of the maximum available size

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: