Box

constructor(title: InlineContent?, type: Box.Type, padding: Size? = null, backgroundColor: Color? = null, foregroundColor: Color? = null, children: List<Node>)

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