srcDoc property

String? srcDoc
final

Inline HTML to embed, overriding the src attribute. If a browser does not support the srcdoc attribute, it will fall back to the URL in the src attribute.

Implementation

final String? srcDoc;