details constructor

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

The <details> HTML element creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label must be provided using the <summary> element.

Implementation

const details(
  this.children, {
  this.open = false,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});