flutter/packages/flutter_markdown
Alexandre Ardhuin 9541848272 make @immutable const classes (#9532)
* make @immutable const

* fix build
2017-04-21 23:09:42 +02:00
..
example make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
lib make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
test make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
flutter_markdown.iml IntelliJ metadata cleanup (flutter-intellij#914). (#9427) 2017-04-17 13:42:31 -07:00
pubspec.yaml Ignore HTML in flutter_markdown content without error (#8420) 2017-02-27 12:13:24 -08:00
README.md Adds initial version of Markdown renderer 2016-03-09 13:07:36 -08:00

Flutter Markdown

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.