markdown_url_text 0.0.8 markdown_url_text: ^0.0.8 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));