Skip to content

Layout

The nodes that place their children (containers, flex rows and columns, grids, reorderable lists) and the settings of position, overflow and alignment. Learn: Layout, Flex layout, Grid layout.

TypeKindSummary
AlignenumA side or the middle along one axis: start, center or end.
AxisenumThe horizontal or the vertical direction.
ContainerNodeclassA node that draws nothing and groups its children, to move, clip or scroll them together.
FlexNodeclassPlaces its visible children one after the other in a column or a row, and takes the size of its content.
GridNodeclassPlaces its visible children in rows that wrap at its width, and takes the height of its content.
OverflowPropertyenumWhat a node does with the children that go past its bounds.
PositionPropertyenumWhether a node is placed inside its parent or on the canvas.
ReorderableFlexNodeclassA flex column or row whose children the user reorders by dragging them.

Report a problem with this page