flutter/packages/flutter_markdown
pq e54196d7fc Turn on avoid_return_types_on_setters and cleanup annotated setters.
It's safe to remove the unneeded `void`s from setters since the blocking issues in the
`always_declare_return_types` lint have been fixed (https://github.com/dart-lang/linter/).  We can also safely flip the bit on  `avoid_return_types_on_setters`.
2016-05-12 11:45:30 -07:00
..
example Hide routes from the API when they're not needed. (#3431) 2016-04-20 09:33:28 -07:00
lib Turn on avoid_return_types_on_setters and cleanup annotated setters. 2016-05-12 11:45:30 -07:00
test Refactor the test framework (#3622) 2016-04-29 13:23:27 -07:00
pubspec.yaml Remove pub package version skew (#3212) 2016-04-08 10:08:13 -07: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.