MdcView constructor
const
MdcView({
- required MdcDocument document,
- MdcWidgetRenderer? renderer,
- List<
MdcWidgetComponent> components = const <MdcWidgetComponent>[], - MdcStyle style = const MdcStyle(),
- MdcUriPolicy uriPolicy = const MdcUriPolicy(),
- MdcLinkHandler? onLink,
- MdcImageBuilder? imageBuilder,
- bool selectable = true,
- 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,
});