renderMarkup function
String
renderMarkup({
- required DomBuilderFn builderFn,
- DomValidator? domValidator,
- String? prefixContent,
Render markup into a String.
Implementation
String renderMarkup({
required DomBuilderFn builderFn,
DomValidator? domValidator,
String? prefixContent,
}) {
final sink = StringBuffer();
if (prefixContent != null) {
sink.write(prefixContent);
}
renderMarkupIntoSink(
sink: sink,
builderFn: builderFn,
domValidator: domValidator,
);
return sink.toString();
}