MdcHtmlRenderer constructor
MdcHtmlRenderer({
- Iterable<
MdcHtmlComponent> components = const <MdcHtmlComponent>[], - MdcUriPolicy uriPolicy = const MdcUriPolicy(),
- MdcHtmlComponentBuilder? unknownComponent,
Creates a standalone renderer with explicit components.
Implementation
factory MdcHtmlRenderer({
Iterable<MdcHtmlComponent> components = const <MdcHtmlComponent>[],
MdcUriPolicy uriPolicy = const MdcUriPolicy(),
MdcHtmlComponentBuilder? unknownComponent,
}) => MdcHtmlRenderer._(
_indexComponents(components),
uriPolicy,
unknownComponent,
);