# FlexJustifyContent

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

  ```
  value class FlexJustifyContent
  ```

*** ** * ** ***

Defines the arrangement of items along the main axis of their respective lines. This controls how free space is distributed between and around items after their main axis sizes have been resolved.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexBoxConfigScope#justifyContent(androidx.compose.foundation.layout.FlexJustifyContent)` |   |

## Summary

| ### Public companion properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent#Center()` Place items such that they are as close as possible to the middle of the main axis within their line. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent#End()` Place items such that they are as close as possible to the `main-end` edge of their line. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent#SpaceAround()` Place items such that they are spaced evenly across the main axis, including free space before the first item and after the last item, but half the amount of space existing otherwise between two consecutive items. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent#SpaceBetween()` Place items such that they are spaced evenly across the main axis, without free space before the first item or after the last item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent#SpaceEvenly()` Place items such that they are spaced evenly across the main axis, including free space before the first item and after the last item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent#Start()` Place items such that they are as close as possible to the `main-start` edge of their line. | Cmn |

| ### Public functions |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/FlexJustifyContent#toString()()` | Cmn |

## Public companion properties

### Center

Cmn

```
val Center: FlexJustifyContent
```

Place items such that they are as close as possible to the middle of the main axis within their line.

### End

Cmn

```
val End: FlexJustifyContent
```

Place items such that they are as close as possible to the `main-end` edge of their line.

### SpaceAround

Cmn

```
val SpaceAround: FlexJustifyContent
```

Place items such that they are spaced evenly across the main axis, including free space before the first item and after the last item, but half the amount of space existing otherwise between two consecutive items.

### SpaceBetween

Cmn

```
val SpaceBetween: FlexJustifyContent
```

Place items such that they are spaced evenly across the main axis, without free space before the first item or after the last item.

### SpaceEvenly

Cmn

```
val SpaceEvenly: FlexJustifyContent
```

Place items such that they are spaced evenly across the main axis, including free space before the first item and after the last item.

### Start

Cmn

```
val Start: FlexJustifyContent
```

Place items such that they are as close as possible to the `main-start` edge of their line.

## Public functions

### toString

Cmn

```
open fun toString(): String
```