renderMarkupIntoSink<S> function
void
renderMarkupIntoSink<S>({
- required StringSink sink,
- required DomBuilderFn builderFn,
- DomValidator? domValidator,
Render markup into a String Sink.
Implementation
void renderMarkupIntoSink<S>({
required StringSink sink,
required DomBuilderFn builderFn,
DomValidator? domValidator,
}) {
final builder = _DomBuilder(sink, domValidator ?? _defaultDomValidator);
builderFn(builder);
builder._assertClosedState();
}