MarkdownParseBody constructor

const MarkdownParseBody({
  1. Key? key,
  2. required String data,
  3. MarkdownTapLinkCallback? onTapLink,
  4. MarkdownTapTagCallback? onTapHastag,
  5. MarkdownTapTagCallback? onTapMention,
  6. bool shrinkWrap = true,
  7. SyntaxHighlighter? syntaxHighlighter,
  8. MarkdownBulletBuilder? bulletBuilder,
  9. MarkdownStyleSheetBaseTheme? styleSheetTheme,
  10. MarkdownStyleSheet? styleSheet,
  11. MarkdownImageBuilder? imageBuilder,
  12. MarkdownCheckboxBuilder? checkboxBuilder,
  13. Map<String, MarkdownElementBuilder> builders = const <String, MarkdownElementBuilder>{},
  14. bool selectable = false,
  15. List<InlineSyntax>? inlineSyntaxes,
  16. List<BlockSyntax>? blockSyntaxes,
  17. 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,
});