Package limn.scene.layout


package limn.scene.layout
Layout containers: Row and Column over the shared simplified flexbox Flex, with Expanded taking a weighted share of the leftover main-axis space; Stack overlays children, Padding wraps one child in edge insets, and SizedBox fixes a dimension or spaces rigidly. All of them are plain widgets: a container an application writes participates in measure and layout on the same terms.
  • Class
    Description
    Vertical Flex: children stack top to bottom.
    Flex wrapper: inside a Column/Row it receives a share of the leftover main-axis space proportional to flex.
    Simplified flexbox shared by Column and Row: children flow along the main axis with an optional gap; Expanded children split the leftover main-axis space by flex weight; alignment controls the distribution of leftovers (Flex.MainAlignment) and cross-axis placement (Flex.CrossAlignment, including STRETCH).
    Cross-axis placement.
    How leftover space along the layout axis is distributed, on two vocabularies that coexist on purpose.
    Wraps one child with edge insets.
    Horizontal Flex: children flow left to right.
    Forces a fixed width and/or height (unset dimensions pass through to the child, or collapse to zero without one).
    Overlays children on top of each other (later children on top; the base for overlays and modal dialogs).
    Where a child sits in the stack's box, on two vocabularies that coexist on purpose.