Context class

Provides the rendering context.

Constructors

Context(bool inlineImages, bool inlineLinks, {String lineBreak = '\n'})

Properties

hashCode int
The hash code for this object.
no setterinherited
inlineImages bool
Whether the images should be rendered inline (or as references)
final
Whether the links should be rendered inline (or as references)
final
lineBreak String
Line break sequence
final
ref Map<String, String>
Accumulates references to images and links generated during rendering. When the rendering is done, these lines will be added to the bottom of the generated document.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

nextId() String
Returns the next generated id for images and links.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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