addLink method

void addLink(
  1. String text,
  2. String href
)

Adds an HTML anchor tag to the summary buffer.

Implementation

void addLink(String text, String href) {
  addRaw(
    _wrap(tag: 'a', content: text, attributes: {'href': href}),
    addEOL: true,
  );
}