EFlexItem Flex item
Examples
Weighted growth
Weighted shrink
Size constraints
Ordering
Per-item alignment
Properties
PropertyDescriptionValues and default
alignSelfstringCross-axis alignment override for this item.
"auto" / "start""center" / "end""stretch"
Default
"auto"basisrealBase main-axis size; a negative value uses the content implicit size.
Default
-1contentaliasDefault content slot; aliases button text in EFloatButton.
Default
body.dataflexItemboolRead onlyIdentifies an item that supplies flex layout parameters.
Default
ComputedgrowrealGrowth weight for spare main-axis space; 0 prevents growth.
Default
0maxSizerealMaximum allowed main-axis size; Infinity means no limit.
Default
InfinityminSizerealMinimum allowed main-axis size.
Default
0orderintLayout order; equal values preserve declaration order.
Default
0shrinkrealShrink weight multiplied by the base size; 0 prevents shrinking.
Default
1