createLabel function
Creates a label
element.
html
The HTML to parse as content.
Implementation
LabelElement createLabel([String? html, NodeValidator? validator]) {
var label = LabelElement();
if (html != null) {
setElementInnerHTML(label, html, validator: validator);
}
return label;
}