summary function
The <summary> HTML element specifies a summary, caption, or legend for a <details> element's disclosure box. Clicking the <summary> element toggles the state of the parent <details> element open and closed.
Implementation
Component summary(List<Component> children,
{Key? key,
String? id,
String? classes,
Styles? styles,
Map<String, String>? attributes,
Map<String, EventCallback>? events}) {
return DomComponent(
tag: 'summary',
key: key,
id: id,
classes: classes,
styles: styles,
attributes: attributes,
events: events,
children: children,
);
}