MarkdownLineRenderer class

Renders Markdown for the terminal one line at a time, since responses stream in line by line. The only state that spans lines is whether the renderer is inside a fenced code block.

Constructors

MarkdownLineRenderer()

Properties

hashCode → int
The hash code for this object.
no setterinherited
inCodeBlock → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(String line, {int width = 80}) → String?
The styled line, or null for lines that are not shown (code fences).
reset() → void
Forgets any open code block, for the start of a new message.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited