Box
class Box(val title: InlineContent?, val type: Box.Type, val padding: Size? = null, val backgroundColor: Color? = null, val foregroundColor: Color? = null, val children: List<Node>) : NestableNode
A generic box that contains content.
Parameters
title
box title. If null, the box is untitled
type
type of the box
padding
padding of the box. If null, the box uses the default value
backgroundColor
background color of the box. If null, the box uses the default value
foregroundColor
foreground color of the box. If null, the box uses the default value
children
content of the box
Constructors
Types
Functions
Link copied to clipboard
Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.
Link copied to clipboard
Retrieves the stored media associated with this node, if any.
Link copied to clipboard