Layout
Flex Layout
Flex Layout is a powerful layout system that enables the creation of flexible and responsive user interfaces.
Currently, two types of widgets support flex layout:
ContainerScreenitself
Flex Layout Configuration Steps
- Click on
Screenor create aContainercomponent - Set the
layoutproperty toflex - Configure
flex flow,main align,track alignproperties - Add padding row/column to adjust space between children
- Use percentage-based sizing to ensure children components adapt to the container size
- If the children have fixed size, then you can set size of
ContainertoAutoto fit in content

Flex Layout Example
The following example demonstrates a flex layout implementation using nested Container components.
Buttons, dropdowns, and checkboxes are automatically centered within the container without requiring explicit position settings.
