pre function
The <pre> HTML element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or monospaced, font. Whitespace inside this element is displayed as written.
Implementation
Component pre(List<Component> children,
{Key? key,
String? id,
String? classes,
Styles? styles,
Map<String, String>? attributes,
Map<String, EventCallback>? events}) {
return DomComponent(
tag: 'pre',
key: key,
id: id,
classes: classes,
styles: styles,
attributes: attributes,
events: events,
children: children,
);
}