FlexJustifyContent

Class

Common
@ExperimentalFlexBoxApi
value class FlexJustifyContent @PublishedApi internal constructor(private val bits: Int)

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.

Companion Object

Properties

Common
inline val Start

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

Common
inline val End

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

Common
inline val Center

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

Common
inline val 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.

Common
inline val 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.

Common
inline val 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.