MarkdownText constructor
const
MarkdownText({})
A widget that displays a list of paragraphs with markdown-like bold text.
The MarkdownText widget takes a list of paragraphs and displays them with bold text for any text enclosed in double asterisks (**).
The paragraphs
parameter must not be null.
The fontSize
parameter defaults to 16.0 if not provided.
The fontFamily
parameter defaults to "Roboto" if not provided.
Implementation
const MarkdownText({
super.key,
required this.paragraphs,
this.fontSize = 16.0,
this.fontFamily = "Roboto",
});