MarkdownPreview constructor

const MarkdownPreview({
  1. Key? key,
  2. required String text,
  3. bool selectable = true,
})

Create the MarkdownPreview passing the text and selectable.

Implementation

const MarkdownPreview({
  Key? key,
  required this.text,
  this.selectable = true,
}) : super(key: key);