Markdown constructor

const Markdown(
  1. String data, {
  2. Key? key,
})

Creates a new Markdown widget with the provided content.

The data parameter holds the raw Markdown string to render. This constructor initializes the widget with default Arcane components for optimal styling and interaction. No additional configuration is needed for basic usage, but custom builders can be extended if required.

Implementation

const Markdown(this.data, {super.key});