Closed peterjonesdyedurham closed 10 months ago
Yes, font-family
is supported. It is listed in the README and pub.dev too:
Thank you Dao, for your quick response. Can you point me to an example as to how to use font-family
within const String htmlContent
? I haven't been able to make it work yet. Thank you.
Something simple like Hello, <span style="font-family: Lato">Google Fonts</span>.
should work. Given that you include the font in your pubspec.
Thanks Dao.
Your speedy replies are very much appreciated.
I'm looking for a way to use 'font-family' but can't find anything here. Is it possible to use 'font-family' in an inline style in my HTML in 'HtmlWidget"? Thanks in advance.