-2

I have text that I would like to display using flutter. However, the text contains an HTML link

e.g

I have for now, thanks for your time!  Make sure to check <a href='https://yahoo.com/jobs/'><b>yahoo</b></a> . 

How can I show a link with the text with flutter? Currently, it shows the text as is with the HTML tag.

Thanks

user2570135
  • 2,669
  • 6
  • 50
  • 80

2 Answers2

0

You can use flutter_html package. Currently supported html tags by this package:

a, abbr, acronym, address, article, aside, b, bdi, bdo, big, blockquote, body, br, caption, cite, code, data, dd, del, dfn, div, dl, dt, em, figcaption, figure, footer, h1, h2, h3, h4, h5, h6, header, hr, i, img, ins, kbd, li, main, mark, nav, noscript, ol, p, pre, q, rp, rt, ruby, s, samp, section, small, span, strike, strong, sub, sup, table, tbody, td, template, tfoot, th, thead, time, tr, tt, u, ul, var
Tipu Sultan
  • 1,743
  • 11
  • 20