container
.container width:{Size? = null}
height:{Size? = null}
fullwidth:{Boolean = false}
foreground:{Color? = null}
background:{Color? = null}
border:{Color? = null}
borderwidth:{Sizes? = null}
borderstyle:{Container.BorderStyle? = null}
margin:{Sizes? = null}
padding:{Sizes? = null}
radius:{Sizes? = null}
alignment:{Container.Alignment? = null}
textalignment:{Container.Alignment? = alignment}
float:{Container.FloatAlignment? = null}
body:{MarkdownContent? = null}
-> Node
Content copied to clipboard
A general-purpose container that groups content. Any layout rules (e.g. from align, row, column, grid) are ignored inside this container.
Return
the new container node
Parameters
width
width of the container. No constraint if unset
height
height of the container. No constraint if unset
fullwidth
whether the container should take up the full width of the parent. Overridden by width. False if unset
foreground
text color. Default if unset
background
background color. Transparent if unset
border
border color. Default if unset and borderwidth is set
borderwidth
border width. Default if unset and border is set
margin
whitespace outside the content. None if unset
padding
whitespace around the content. None if unset
radius
corner (and border) radius. None if unset
body
content to group