Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I change the text color without HTML in HtmlText #16

Closed
crazecoder opened this issue Jul 4, 2018 · 2 comments
Closed

How do I change the text color without HTML in HtmlText #16

crazecoder opened this issue Jul 4, 2018 · 2 comments

Comments

@crazecoder
Copy link

No description provided.

@thenexus00
Copy link

Adding to this:
It would be good to be able to support a style parameter within the call:
new HtmlView( data: item.htmlBody, new TextStyle(fontWeight: FontWeight.bold) )

@The-Redhat
Copy link
Contributor

The-Redhat commented Aug 6, 2018

I made a pull request which lets you wrap the HtmlView inside a DefaultTextStyle and specifiy the default text-color, fontWeigth, ... When html provides a value for the given attribute it overrides that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants