【发布时间】:2020-12-10 07:44:42
【问题描述】:
我有想要使用颤振显示的文本。但是,该文本包含一个 HTML 链接
例如
I have for now, thanks for your time! Make sure to check <a href='https://yahoo.com/jobs/'><b>yahoo</b></a> .
如何显示带有颤动文本的链接?目前,它显示带有 HTML 标记的文本。
谢谢
【问题讨论】:
标签: flutter
我有想要使用颤振显示的文本。但是,该文本包含一个 HTML 链接
例如
I have for now, thanks for your time! Make sure to check <a href='https://yahoo.com/jobs/'><b>yahoo</b></a> .
如何显示带有颤动文本的链接?目前,它显示带有 HTML 标记的文本。
谢谢
【问题讨论】:
标签: flutter
您可以使用flutter_html 包。该包目前支持的html标签:
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
【讨论】: