MarkdownBuilder class

递归解析标签 _elementList 每个标签依次放入该集合 在visitElementBefore时添加 在visitElementAfter时将其移除

Constructors

MarkdownBuilder(BuildContext context, LinkTap linkTap, WidgetImage widgetImage, double maxWidth, TextStyle defaultTextStyle, {TagTextStyle tagTextStyle = defaultTagTextStyle})

Properties

context BuildContext
final
defaultTextStyle TextStyle
final
hashCode int
The hash code for this object.
no setterinherited
linkTap LinkTap
final
maxWidth double
final
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tagTextStyle TagTextStyle
final
widgetImage WidgetImage
final

Methods

build(List<Node> nodes) List<Widget>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitElementAfter(Element element) → void
Called when an Element has been reached, after its children have been visited.
visitElementBefore(Element element) bool
Called when an Element has been reached, before its children have been visited.
visitText(Text text) → void
Called when a Text node has been reached.

Operators

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