flex

@Stable
fun Modifier.flex(value: Double): Modifier

Deprecated (with error)

This extension function is obselete now that RowScope and ColumnScope support flex directly. Remove the import for this function.

Equivalent to modifier.grow(value).shrink(value).

Call this in ColumnScope or RowScope.