RawText

Renders raw HTML from a String.


The RawText component renders its input text as raw and unescaped HTML.

dart
return RawText('<div>Hello HTML</div>');

renders to:

html
<div>Hello HTML</div>

The component can be used both on the server and the client and supports deep updates of the provided html.

On this page