MarkdownRenderer class

Implemented types

Constructors

MarkdownRenderer({BuildContext? context, required MarkdownStyle styleSheet, MarkdownTapLinkCallback? onTapLink, MarkdownListItemMarkerBuilder? listItemMarkerBuilder, MarkdownCheckboxBuilder? checkboxBuilder, MarkdownHighlightBuilder? highlightBuilder, MarkdownImageBuilder? imageBuilder, bool enableImageSize = false, List<MarkdownElementBuilder> elementBuilders = const [], TextAlign? textAlign, Color? selectionColor, SelectionRegistrar? selectionRegistrar, CopyIconBuilder? copyIconBuilder})

Properties

hashCode int
The hash code for this object.
no setterinherited
mouseCursor MouseCursor?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectable bool
no setter

Methods

compressWidgets(List<Widget> widgets) List<Widget>
Merges the RichText elements of widgets while it is possible.
createRichText(TextSpan text, {TextAlign? textAlign, StrutStyle? strutStyle}) Widget
Creates a RichText widget.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(List<MdNode> nodes) List<Widget>
toString() String
A string representation of this object.
inherited
visitElementAfter(MarkdownElement element) → void
Called when an Element has been reached, after its children have been visited.
visitElementBefore(MarkdownElement element) bool
Called when an Element has been reached, before its children have been visited.
visitText(MarkdownText text) → void
Called when a Text node has been reached.

Operators

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