---
title: "FlexAlignContent"
description: "Defines how multiple lines are distributed along the cross axis. This only applies when wrapping
is enabled ([FlexWrap.Wrap] or [FlexWrap.WrapReverse]), the container has extra cross-axis space,
and there is more than one line of items."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ExperimentalFlexBoxApi
value class FlexAlignContent @PublishedApi internal constructor(private val bits: Int)
```


Defines how multiple lines are distributed along the cross axis. This only applies when wrapping
is enabled (`FlexWrap.Wrap` or `FlexWrap.WrapReverse`), the container has extra cross-axis space,
and there is more than one line of items.


## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
inline val Start
```


Place lines such that they are as close as possible to the `cross-start` edge of the
container.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
inline val End
```


Place lines such that they are as close as possible to the `cross-end` edge of the
container.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
inline val Center
```


Place lines such that they are as close as possible to the middle of the container's
cross axis.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
inline val Stretch
```


Distribute remaining free space evenly among all lines, increasing their cross-axis size
to fill the available space.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
inline val SpaceBetween
```


Place lines such that they are spaced evenly across the cross axis, without free space
before the first line or after the last line.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
inline val SpaceAround
```


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





