widget/blocks/all library

Classes

BlockquoteConfig
config class for Block quotes, tag: blockquote
BlockquoteNode
Tag: MarkdownTag.blockquote
BrNode
Tag: MarkdownTag.br
CodeBlockNode
Tag: MarkdownTag.pre
DelNode
Tag: MarkdownTag.del
EmNode
Tag: MarkdownTag.em
H1Config
config class for h1
H2Config
config class for h2
H3Config
config class for h3
H4Config
config class for h4
H5Config
config class for h5
H6Config
config class for h6
HeadingConfig
config class for heading
HeadingDivider
only support h1 and h2
HeadingNode
Tag: MarkdownTag.h1 ~ MarkdownTag.h6
HrConfig
config class for HrNode
HrNode
Tag: MarkdownTag.hr
LinkConfig
config class for link, tag: a
LinkNode
Tag: MarkdownTag.a
ListConfig
config class for list, tag: li
ListNode
Tag MarkdownTag.li
ParagraphNode
Tag: MarkdownTag.p
PConfig
config class for paragraphs, tag: p
PreConfig
config class for pre
StrongNode
Tag: MarkdownTag.strong
TableConfig
TableNode
TBodyNode
TdNode
THeadNode
ThNode
TrNode
UlOrOLNode
Tag MarkdownTag.olMarkdownTag.ul

Functions

convertHiNodes(List<Node> nodes, Map<String, TextStyle> theme, TextStyle? style, TextStyle? styleNotMatched) List<TextSpan>
getDefaultMarker(bool isOrdered, int depth, Color? color, int index, double paddingTop, MarkdownConfig config) Widget
get default marker for list
highLightSpans(String input, {String? language, bool autoDetectionLanguage = false, Map<String, TextStyle> theme = const {}, TextStyle? textStyle, TextStyle? styleNotMatched, int tabSize = 8}) List<InlineSpan>
transform code to highlight code

Typedefs

CodeBuilder = Widget Function(String code, String language)
CodeWrapper = Widget Function(Widget child, String code, String language)
ListMarker = Widget? Function(bool isOrdered, int depth, int index)
the function to get marker widget