Skip to main content

Module container

Module container 

Source
Expand description

Container — a rectangular box with optional background, border, and padding that holds zero or more child widgets.

Phase 4 child layout is a simple top-down vertical stack (bottom-most child at y = padding, each subsequent child placed above the previous). Flex layout arrives in Phase 5.

Structs§

Container
A rectangular container widget.
ContainerProps
Inspector-visible properties of a Container.