MarkdownViewer class

Inheritance

Constructors

MarkdownViewer(String data, {MarkdownStyle? styleSheet, MarkdownTapLinkCallback? onTapLink, MarkdownListItemMarkerBuilder? listItemMarkerBuilder, MarkdownHighlightBuilder? highlightBuilder, MarkdownCheckboxBuilder? checkboxBuilder, MarkdownImageBuilder? imageBuilder, bool enableTaskList = false, bool enableSubscript = false, bool enableSuperscript = false, bool enableKbd = false, bool enableFootnote = false, bool enableAutolinkExtension = true, bool forceTightList = false, bool enableImageSize = false, List<MarkdownElementBuilder> elementBuilders = const [], List<Syntax> syntaxExtensions = const [], List<Node> nodesFilter(List<Node> nodes)?, bool? selectable, Color? selectionColor, CopyIconBuilder? copyIconBuilder, Key? key})
const

Properties

checkboxBuilder MarkdownCheckboxBuilder?
final
copyIconBuilder CopyIconBuilder?
final
data String
final
elementBuilders List<MarkdownElementBuilder>
final
enableAutolinkExtension bool
final
enableFootnote bool
final
enableImageSize bool
final
enableKbd bool
final
enableSubscript bool
final
enableSuperscript bool
final
enableTaskList bool
final
forceTightList bool
final
hashCode int
The hash code for this object.
no setterinherited
highlightBuilder MarkdownHighlightBuilder?
final
imageBuilder MarkdownImageBuilder?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
listItemMarkerBuilder MarkdownListItemMarkerBuilder?
final
nodesFilter → (List<Node> Function(List<Node> nodes)?)
A function used to modify the parsed AST nodes.
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectable bool?
final
selectionColor Color?
final
styleSheet MarkdownStyle?
final
syntaxExtensions List<Syntax>
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<MarkdownViewer>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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