showDialogHTML function
Shows a html
dialog.
html
The HTML to show.
transparency
The transparency of the dialog as double.
padding
The padding of the dialog.
Implementation
HTMLDivElement? showDialogHTML(String? html,
{double? transparency,
String? padding,
@Deprecated("`NodeValidator` not implemented on package `web`")
Object? validator,
bool unsafe = false}) {
if (html == null || html.isEmpty) return null;
var element = HTMLSpanElement();
setElementInnerHTML(element, html, unsafe: unsafe);
return showDialogElement(element,
transparency: transparency, padding: padding);
}