To display valid HTML you can set the src field to the following: _src = “data:text/html;charset=utf-8,” + Uri. encodeComponent(“HTML_CONTENT_HERE”); For the package you can also pass markdown to the src and it will convert it for you.10 Mar 2020
Read moreHow do you write HTML code in flutter?
To show html on Flutter web we need to use an HTMLElementView . This is a platform view that allows us to display native content. We first need to register the Element and add all the options we need. Here we are creating an iFrame element and setting the source based on if it is markdown, html or a url.
Read more