MarkdownPreview constructor
const
MarkdownPreview({
- Key? key,
- required String data,
- MarkdownTheme theme = const MarkdownTheme(),
- ValueChanged<
String> ? onLinkTap, - bool selectable = true,
Implementation
const MarkdownPreview({
super.key,
required this.data,
this.theme = const MarkdownTheme(),
this.onLinkTap,
this.selectable = true,
});