flutter_markdown 0.1.0 copy "flutter_markdown: ^0.1.0" to clipboard
flutter_markdown: ^0.1.0 copied to clipboard

outdatedDart 1 only

A markdown renderer for Flutter.

Flutter Markdown #

pub package Build Status

A markdown renderer for Flutter. It supports the original format, but no inline html.

Getting Started #

Using the Markdown widget is simple, just pass in the source markdown as a string:

new Markdown(data: markdownSource);

If you do not want the padding or scrolling behavior, use the MarkdownBody instead:

new MarkdownBody(data: markdownSource);

By default, Markdown uses the formatting from the current material design theme, but it's possible to create your own custom styling. Use the MarkdownStyle class to pass in your own style. If you don't want to use Markdown outside of material design, use the MarkdownRaw class.