flutter_markdown library
A library to render markdown formatted text.
Classes
- Markdown
- A scrolling widget that parses and displays Markdown.
- MarkdownBody
- A non-scrolling widget that parses and displays Markdown.
- MarkdownBuilder
- Builds a Widget tree from parsed Markdown.
- MarkdownBuilderDelegate
- A delegate used by MarkdownBuilder to control the widgets it creates.
- MarkdownElementBuilder
- An interface for an element builder.
- MarkdownPaddingBuilder
- An interface for an padding builder for element.
- MarkdownStyleSheet
- Defines which TextStyle objects to use for which Markdown elements.
- MarkdownWidget
- A base class for widgets that parse and display Markdown.
- SyntaxHighlighter
- Creates a format TextSpan given a string.
- TaskListSyntax
- Parse task list items.
Enums
- BulletStyle
- Enumeration sent to the user when calling MarkdownBulletBuilder
- MarkdownListItemCrossAxisAlignment
- Enumeration of alignment strategies for the cross axis of list items.
- MarkdownStyleSheetBaseTheme
- Enum to specify which theme being used when creating MarkdownStyleSheet
Typedefs
- MarkdownBulletBuilder = Widget Function(int index, BulletStyle style)
- Signature for custom bullet widget.
- MarkdownCheckboxBuilder = Widget Function(bool value)
- Signature for custom checkbox widget.
- MarkdownImageBuilder = Widget Function(Uri uri, String? title, String? alt)
- Signature for custom image widget.
- MarkdownTapLinkCallback = void Function(String text, String? href, String title)
- Signature for callbacks used by MarkdownWidget when the user taps a link. The callback will return the link text, destination, and title from the Markdown link tag in the document.