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. List<InlineSyntax>? inlineSyntaxes,
  17. List<BlockSyntax>? blockSyntaxes,
  18. double? checkboxIconSize,
})

Creates a scrolling widget that parses and displays Markdown.

Implementation

const MarkdownParse({
  Key? 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.inlineSyntaxes,
  this.blockSyntaxes,
  this.checkboxIconSize,
}) : super(key: key);