Start native apps faster with the Composables CLI ->
Function

fillSize

Sets the width and height of the component to fill the parent's available space (equivalent to width(1.0f) and height(1.0f)).

fillSize

Source set: Common
@ExperimentalFoundationStyleApi
fun SizeScope.fillSize()

Sets the width and height of the component to fill the parent's available space (equivalent to width(1.0f) and height(1.0f)). The specified size includes any padding.

This property is not inherited

Last updated: