MarkdownParse constructor
const
MarkdownParse({
- Key? key,
- required String data,
- MarkdownTapLinkCallback? onTapLink,
- MarkdownTapTagCallback? onTapHastag,
- MarkdownTapTagCallback? onTapMention,
- ScrollPhysics? physics,
- ScrollController? controller,
- bool shrinkWrap = false,
- SyntaxHighlighter? syntaxHighlighter,
- MarkdownBulletBuilder? bulletBuilder,
- MarkdownStyleSheetBaseTheme? styleSheetTheme,
- MarkdownStyleSheet? styleSheet,
- MarkdownImageBuilder? imageBuilder,
- MarkdownCheckboxBuilder? checkboxBuilder,
- Map<
String, MarkdownElementBuilder> builders = const <String, MarkdownElementBuilder>{}, - List<
InlineSyntax> ? inlineSyntaxes, - List<
BlockSyntax> ? blockSyntaxes, - 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);