Skip to Content

Row

Lays out its children in a horizontal sequence. Maps to a UIToolkit VisualElement with FlexDirection.Row.

Constructor

Row

Creates an Row element.

ParameterDescription
mainAxisAlignmentAlignment along the horizontal axis.
crossAxisAlignmentAlignment along the vertical axis.
keyAn optional key for reconciliation identity.

Properties

CrossAxisAlignment

Controls how children are aligned along the vertical axis. Defaults to Start.

MainAxisAlignment

Controls how children are distributed along the horizontal axis. Defaults to Start.

Methods

ShouldRebuild

Last updated on