blockquote function

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

The <blockquote> HTML element indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation. A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

  • cite: A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.

Implementation

Component blockquote(List<Component> children,
    {String? cite,
    Key? key,
    String? id,
    String? classes,
    Styles? styles,
    Map<String, String>? attributes,
    Map<String, EventCallback>? events}) {
  return DomComponent(
    tag: 'blockquote',
    key: key,
    id: id,
    classes: classes,
    styles: styles,
    attributes: {
      ...attributes ?? {},
      if (cite != null) 'cite': cite,
    },
    events: events,
    children: children,
  );
}