androidx.compose.foundation.layout
FlexBoxScopeSince 1.11Experimental
Interface · from org.jetbrains.compose.foundation:foundation-layout:1.12.2
No hand-written docs yet.
Scope for the content of a FlexBox. Provides the flex modifier for configuring individual flex item properties.
interface FlexBoxScope
Used by
Parameters that take a FlexBoxScope.
Functions
flex
fun Modifier.flex(flexConfig: FlexConfig): Modifier
Configures the flex properties of this element within the FlexBox using the provided FlexConfig.
fun Modifier.flex(flexConfig: FlexConfigScope.() -> Unit): Modifier
Configures the flex properties of this element within the FlexBox using a configuration lambda.
Library docs
Scope for the content of a FlexBox. Provides the flex modifier for configuring individual
flex item properties.