MarkdownParse constructor

const MarkdownParse({
  1. Key? key,
  2. required String data,
  3. MarkdownTapLinkCallback? onTapLink,
  4. MarkdownTapTagCallback? onTapHastag,
  5. MarkdownTapTagCallback? onTapMention,
  6. ScrollPhysics? physics,
  7. ScrollController? controller,
  8. bool shrinkWrap = false,
  9. SyntaxHighlighter? syntaxHighlighter,
  10. MarkdownBulletBuilder? bulletBuilder,
  11. MarkdownStyleSheetBaseTheme? styleSheetTheme,
  12. MarkdownStyleSheet? styleSheet,
  13. MarkdownImageBuilder? imageBuilder,
  14. MarkdownCheckboxBuilder? checkboxBuilder,
  15. Map<String, MarkdownElementBuilder> builders = const <String, MarkdownElementBuilder>{},
  16. bool selectable = false,
  17. List<InlineSyntax>? inlineSyntaxes,
  18. List<BlockSyntax>? blockSyntaxes,
  19. double? checkboxIconSize,
})

Creates a scrolling widget that parses and displays Markdown.

Implementation

const MarkdownParse({
  super.key,
  required this.data,
  this.onTapLink,
  this.onTapHastag,
  this.onTapMention,
  this.physics,
  this.controller,
  this.shrinkWrap = false,
  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,
});