public 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.
Functions
toString
override fun toString(): String
Members
Companion
public companion object
Properties
Start
public inline val Start: FlexJustifyContent
Place items such that they are as close as possible to the main-start edge of their line.
End
public inline val End: FlexJustifyContent
Place items such that they are as close as possible to the main-end edge of their line.
Center
public inline val Center: FlexJustifyContent
Place items such that they are as close as possible to the middle of the main axis within their line.
SpaceBetween
public inline 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.
SpaceAround
public inline 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.
SpaceEvenly
public inline 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.