Package-level declarations
Functions
.align alignment:{Container.Alignment} body:{MarkdownContent} -> Node
Aligns content and text within its parent.
.box title:{InlineMarkdownContent? = null}
type:{Box.Type = Box.Type.CALLOUT}
padding:{Size? = null}
background:{Color? = null}
foreground:{Color? = null}
body:{MarkdownContent}
-> Node
Inserts content in a box.
.center body:{MarkdownContent} -> Node
Centers content and text within its parent.
.clip clip:{Clipped.Clip} body:{MarkdownContent} -> Node
Applies a clipping path to its content.
.collapse title:{InlineMarkdownContent}
open:{Boolean = false}
body:{MarkdownContent}
-> Node
Inserts content in a collapsible block, whose content can be hidden or shown by interacting with it.
.column alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.START}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node
Stacks content vertically.
.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
.float alignment:{Container.FloatAlignment} body:{MarkdownContent} -> Node
Turns content into a floating element, allowing subsequent content to wrap around it.
.fullspan body:{MarkdownContent} -> Node
If the document has a multi-column layout (set via pageformat), makes content span across all columns in a multi-column layout. If the document has a single-column layout, the effect is the same as container.
.grid columns:{Int}
alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.CENTER}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node
Stacks content in a grid layout. Each child is placed in a cell in a row, and a row ends when its cell count reaches columns.
.row alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.START}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node
Stacks content horizontally.
.textcollapse full:{InlineMarkdownContent}
short:{InlineMarkdownContent}
open:{Boolean = false}
-> Node
Inserts content in a collapsible text span, whose content can be expanded or collapsed by interacting with it.
An empty square that adds whitespace to the layout. If at least one of the dimensions is set, the square will have a fixed size. If both dimensions are unset, a blank character is used, which can be useful for spacing and adding line breaks.