code constructor

const code(
  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 <code> HTML element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent's default monospace font.

Implementation

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