Element of type Wrap
Attribute | Description | Type |
---|---|---|
type | The identifier of the component | string ("wrap") |
children | The children of the wrap. | component[] |
alignment | How the objects in the Wrap should be aligned. | string ("start", "end", "center", "spaceBetween", "spaceAround", "spaceEvenly") |
crossAxisAlignment | How the objects in the Wrap should be aligned on the CrossAxis. | string ("start", "end", "center") |
direction | The direction of the component (horizontal/vertical) | string ("horizontal", "vertical") |
horizontalDirection | In which direction the elements should be placed following the horizontal axis. | string ("ltr", "rtl") |
runAlignment | How the objects in the Wrap should be aligned. | string ("start", "end", "center", "spaceBetween", "spaceAround", "spaceEvenly") |
runSpacing | The spacing between each run of the wrap. | number |
spacing | The spacing between each child of the wrap. | number |
verticalDirection | How the objects should be aligned following the vertical axis. | string ("down", "up") |