MarkdownText constructor

const MarkdownText({
  1. Key? key,
  2. required List<String> paragraphs,
  3. double fontSize = 16.0,
  4. String fontFamily = "Roboto",
})

Creates a MarkdownText widget.

The paragraphs parameter must not be null. The fontSize parameter defaults to 16.0 if not provided.

Implementation

const MarkdownText({
  super.key,
  required this.paragraphs,
  this.fontSize = 16.0,
  this.fontFamily = "Roboto",
});