markdown_url_text 0.0.7 markdown_url_text: ^0.0.7 copied to clipboard
A lightweight widget that parses a text with markdown-style formatted links, and makes makes them tappable.
A lightweight widget that parses a text with markdown-style formatted links, and makes makes them tappable. It uses RichText and TextSpan (no html).
Example #
Before:
'Click \[here](https://leest.dev) to visit. \[Learn more](https://leest.dev).'
After:
Click here to visit. Learn more.
Usage #
UrlText('Click [here](https://leest.dev) to visit. [Learn more](https://leest.dev).',
style: TextStyle(color: Colors.black), linkStyle: LinkStyle(color: Colors.blue));