PrismMarkdown constructor
- String data, {
- Key? key,
- PrismMarkdownStyle? style,
- ExtensionSet? extensionSet,
- void onLinkTap(
- String href
- bool selectable = true,
- TextSpan highlighter()?,
- Widget imageBuilder()?,
- int? maxLines,
- TextOverflow? overflow,
- bool asyncParsing = false,
- Widget? placeholder,
- Future<
List< parseRunner(Node> >- String data,
- ExtensionSet? extensionSet
Creates a markdown renderer.
Implementation
const PrismMarkdown(
this.data, {
super.key,
this.style,
this.extensionSet,
this.onLinkTap,
this.selectable = true,
this.highlighter,
this.imageBuilder,
this.maxLines,
this.overflow,
this.asyncParsing = false,
this.placeholder,
this.parseRunner,
});