summary constructor

const summary(
  1. List<Component> children, {
  2. String? id,
  3. String? classes,
  4. Styles? styles,
  5. Map<String, String>? attributes,
  6. Map<String, EventCallback>? events,
  7. Key? key,
})

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

const summary(
  this.children, {
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});