# FlexBoxConfig.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.FlexBoxConfig.Companion) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.11.0) Common/AllAndroid/JVM
- Cmn

  ```
  object FlexBoxConfig.Companion : FlexBoxConfig
  ```

*** ** * ** ***

## 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/FlexBoxConfigScope.https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexBoxConfig#(androidx.compose.foundation.layout.FlexBoxConfigScope).configure()()` A default configuration that lays out items in a horizontal row without wrapping, with | Cmn |
| `open infix https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexBoxConfig` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexBoxConfig#then(androidx.compose.foundation.layout.FlexBoxConfig)(other: https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexBoxConfig)` Identity elision: merging the identity with any config yields that config. | Cmn |

## Public functions

### FlexBoxConfigScope.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 FlexBoxConfigScope.configure(): Unit
```

A default configuration that lays out items in a horizontal row without wrapping, with

items aligned to the start on both axes and no gaps.

### then

Cmn

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

Identity elision: merging the identity with any config yields that config.