Package-level declarations

Functions

Link copied to clipboard
.align alignment:{Container.Alignment} body:{MarkdownContent} -> Node

Aligns content and text within its parent.

Link copied to clipboard
.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.

Link copied to clipboard
.center body:{MarkdownContent} -> Node

Centers content and text within its parent.

Link copied to clipboard
.clip clip:{Clipped.Clip} body:{MarkdownContent} -> Node

Applies a clipping path to its content.

Link copied to clipboard
.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.

Link copied to clipboard
.column alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.START}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node

Stacks content vertically.

Link copied to clipboard
.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

A general-purpose container that groups content. Any layout rules (e.g. from align, row, column, grid) are ignored inside this container.

Link copied to clipboard
.float alignment:{Container.FloatAlignment} body:{MarkdownContent} -> Node

Turns content into a floating element, allowing subsequent content to wrap around it.

Link copied to clipboard
.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.

Link copied to clipboard
.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.

Link copied to clipboard
.numbered key:{String} body:{Lambda} -> Node

Node that can be numbered depending on its location in the document and the amount of occurrences according to its key.

Link copied to clipboard
.row alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.START}
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER}
gap:{Size? = null}
body:{MarkdownContent}
-> Node

Stacks content horizontally.

Link copied to clipboard
.table subTables:{Iterable<Any>} -> Node

Creates a table out of a collection of columns.

Link copied to clipboard
.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.

Link copied to clipboard
.whitespace width:{Size? = null} height:{Size? = null} -> Node

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.