showDialogHTML function
DivElement?
showDialogHTML(
- String? html, {
- double? transparency,
- String? padding,
- NodeValidator? validator,
Shows a html
dialog.
html
The HTML to show.
transparency
The transparency of the dialog as double.
padding
The padding of the dialog.
validator
The NodeValidator for HTML generation.
Implementation
DivElement? showDialogHTML(String? html,
{double? transparency, String? padding, NodeValidator? validator}) {
if (html == null || html.isEmpty) return null;
var element = SpanElement();
setElementInnerHTML(element, html, validator: validator);
return showDialogElement(element,
transparency: transparency, padding: padding);
}