MarkdownParseBody constructor
const
MarkdownParseBody({
- Key? key,
- required String data,
- MarkdownTapLinkCallback? onTapLink,
- MarkdownTapTagCallback? onTapHastag,
- MarkdownTapTagCallback? onTapMention,
- bool shrinkWrap = true,
- SyntaxHighlighter? syntaxHighlighter,
- MarkdownBulletBuilder? bulletBuilder,
- MarkdownStyleSheetBaseTheme? styleSheetTheme,
- MarkdownStyleSheet? styleSheet,
- MarkdownImageBuilder? imageBuilder,
- MarkdownCheckboxBuilder? checkboxBuilder,
- Map<
String, MarkdownElementBuilder> builders = const <String, MarkdownElementBuilder>{}, - bool selectable = false,
- List<
InlineSyntax> ? inlineSyntaxes, - List<
BlockSyntax> ? blockSyntaxes, - double? checkboxIconSize,
Creates a non-scrolling widget that parses and displays Markdown.
Implementation
const MarkdownParseBody({
super.key,
required this.data,
this.onTapLink,
this.onTapHastag,
this.onTapMention,
this.shrinkWrap = true,
this.syntaxHighlighter,
this.bulletBuilder,
this.styleSheetTheme,
this.styleSheet,
this.imageBuilder,
this.checkboxBuilder,
this.builders = const <String, MarkdownElementBuilder>{},
this.selectable = false,
this.inlineSyntaxes,
this.blockSyntaxes,
this.checkboxIconSize,
});