# FlexConfig.Companion

Artifact: [androidx.compose.foundation:foundation-layout](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/layout/FlexBox.kt+class:androidx.compose.foundation.layout.FlexConfig.Companion) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.12.0) Common/AllAndroid/JVM
- Cmn

  ```
  object FlexConfig.Companion : FlexConfig
  ```

*** ** * ** ***

## Summary

| ### Public functions |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexConfigScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexConfig#(androidx.compose.foundation.layout.FlexConfigScope).configure()()` Applies the configuration to the given `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexConfigScope`.This method is invoked by the layout system during the measurement phase, not during composition. | Cmn |
| `open infix https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexConfig` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexConfig#then(androidx.compose.foundation.layout.FlexConfig)(other: https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexConfig)` Merging the identity with any config yields that config. | Cmn |

## Public functions

### FlexConfigScope.configure

Cmn Artifact: [androidx.compose.foundation:foundation-layout](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/layout/FlexBox.kt+function:configure)

```
open fun FlexConfigScope.configure(): Unit
```

Applies the configuration to the given `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexConfigScope`.This method is invoked by the layout system during the measurement phase, not during composition.

### then

Cmn

```
open infix fun then(other: FlexConfig): FlexConfig
```

Merging the identity with any config yields that config.