Absolute

data class Absolute(val top: Float? = null, val left: Float? = null, val right: Float? = null, val bottom: Float? = null) : Position(source)

The item is removed from flex flow and positioned relative to the flex container using top, left, right, and bottom. Mirrors CSS position: absolute.

Constructors

Link copied to clipboard
constructor(top: Float? = null, left: Float? = null, right: Float? = null, bottom: Float? = null)

Properties

Link copied to clipboard

Distance in pixels from the container's bottom edge; null = unset.

Link copied to clipboard
val left: Float?

Distance in pixels from the container's left edge; null = unset.

Link copied to clipboard
val right: Float?

Distance in pixels from the container's right edge; null = unset.

Link copied to clipboard
val top: Float?

Distance in pixels from the container's top edge; null = unset.