legend function
The <legend> HTML element represents a caption for the content of its parent <fieldset>.
Implementation
Component legend(List<Component> children,
{Key? key,
String? id,
String? classes,
Styles? styles,
Map<String, String>? attributes,
Map<String, EventCallback>? events}) {
return DomComponent(
tag: 'legend',
key: key,
id: id,
classes: classes,
styles: styles,
attributes: attributes,
events: events,
children: children,
);
}