-
I'm not sure if I'm doing something wrong, or if this is a bug. Using version 2.0.0.
This renders nothing. Is there something I'm missing here? |
Beta Was this translation helpful? Give feedback.
Answered by
DFelten
May 13, 2021
Replies: 1 comment 2 replies
-
You need to add wtf to the whitelist of the Html widget. Html(
data: "<wtf></wtf>",
customRender: {
"wtf": (context, c) {
return TextSpan(text: "wtf", style: TextStyle(color: Colors.black));
},
},
tagsList: [...Html.tags, 'wtf'],
), |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
erickok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to add wtf to the whitelist of the Html widget.