MdcHtmlRenderer constructor

MdcHtmlRenderer({
  1. Iterable<MdcHtmlComponent> components = const <MdcHtmlComponent>[],
  2. MdcUriPolicy uriPolicy = const MdcUriPolicy(),
  3. 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,
);