figure constructor

const figure(
  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 <figure> HTML element represents self-contained content, potentially with an optional caption, which is specified using the <figcaption> element. The figure, its caption, and its contents are referenced as a single unit.

Implementation

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