innerHtml property Null safety

String innerHtml

Implementation

String get innerHtml => _innerHtml;
void innerHtml= (String? html)

Parses the HTML fragment and sets it as the contents of this element.

This uses the default sanitization behavior to sanitize the HTML fragment, use setInnerHtml to override the default behavior.

Implementation

set innerHtml(String? html) {
  this.setInnerHtml(html);
}