-
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: 2 comments 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
-
Closing this discussion, since 3.0.0 removes |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
You need to add wtf to the whitelist of the Html widget.