VerticalLayout

@Serializable
@SerialName(value = "VerticalLayout")
data class VerticalLayout(val elements: ImmutableList<UiSchema> = persistentListOf(), val rule: Rule? = null, val options: LayoutOptions? = null) : UiSchema

A layout which orders its child elements vertically (i.e. from top to bottom).

Constructors

Link copied to clipboard
constructor(elements: ImmutableList<UiSchema> = persistentListOf(), rule: Rule? = null, options: LayoutOptions? = null)

Properties

Link copied to clipboard
@Serializable(with = ImmutableListSerializer::class)
open override val elements: ImmutableList<UiSchema>

The child elements of this layout.

Link copied to clipboard
open override val options: LayoutOptions? = null

The optional options applied of the element.

Link copied to clipboard
open override val rule: Rule? = null

An optional rule.