MarkdownPreview constructor

const MarkdownPreview({
  1. Key? key,
  2. required String data,
  3. MarkdownTheme theme = const MarkdownTheme(),
  4. ValueChanged<String>? onLinkTap,
  5. bool selectable = true,
})

Implementation

const MarkdownPreview({
  super.key,
  required this.data,
  this.theme = const MarkdownTheme(),
  this.onLinkTap,
  this.selectable = true,
});