FlexJustifyContent
@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
inline val Start
Place items such that they are as close as possible to the main-start edge of their
line.
inline val End
Place items such that they are as close as possible to the main-end edge of their line.
inline val Center
Place items such that they are as close as possible to the middle of the main axis within their line.
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.
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.
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.