MdcView constructor

const MdcView({
  1. required MdcDocument document,
  2. MdcWidgetRenderer? renderer,
  3. List<MdcWidgetComponent> components = const <MdcWidgetComponent>[],
  4. MdcStyle style = const MdcStyle(),
  5. MdcUriPolicy uriPolicy = const MdcUriPolicy(),
  6. MdcLinkHandler? onLink,
  7. MdcImageBuilder? imageBuilder,
  8. bool selectable = true,
  9. Key? key,
})

Creates an embedded MDC document view.

Implementation

const MdcView({
  required this.document,
  this.renderer,
  this.components = const <MdcWidgetComponent>[],
  this.style = const MdcStyle(),
  this.uriPolicy = const MdcUriPolicy(),
  this.onLink,
  this.imageBuilder,
  this.selectable = true,
  super.key,
});