flutter/packages/flutter_markdown
Dan Rubel 34e466f1fd Refactor flutter command exit code - part 3 of 3 (#6838)
* Remove the workaround that pinned args to v0.13.6
This reverts most of the changes in commit 6331b6c8b5
* throw exception if exit code is not an integer
* rework command infrastructure to throw ToolExit when non-zero exitCode
* convert commands to return Future<Null>
* cleanup remaining commands to use throwToolExit for non-zero exit code
* remove isUnusual exception message
* add type annotations for updated args package
2016-11-14 14:21:30 -05:00
..
example Hide routes from the API when they're not needed. (#3431) 2016-04-20 09:33:28 -07:00
lib Fix common typos in doc comments (#6520) 2016-10-25 10:06:42 -07:00
test Make it possible to run tests live on a device (#3936) 2016-05-16 12:53:13 -07:00
flutter_markdown.iml Mentions flutter packages get rather than pub get (#6625) 2016-11-01 13:27:06 -07:00
pubspec.yaml Refactor flutter command exit code - part 3 of 3 (#6838) 2016-11-14 14:21:30 -05: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.