Vertical¶
@Stable
interface Vertical
Used to specify the vertical arrangement of the layout's children in layouts like Column.
Inheritors¶
Properties¶
spacing¶
Spacing that should be added between any two adjacent layout children.
Functions¶
arrange¶
Vertically places the layout children.
Parameters
-
totalSize: Available space that can be occupied by the children, in pixels.
-
sizes: An array of sizes of all children, in pixels.
-
outPositions: An array of the size of
sizesthat returns the calculated positions relative to the top, in pixels.