HTML5.fromDom constructor
HTML5.fromDom({
- Key? key,
- GlobalKey<
State< ? anchorKey,StatefulWidget> > - @required Document? document,
- OnTap? onLinkTap,
- OnTap? onAnchorTap,
- Map<
CustomRenderMatcher, CustomRender> customRenders = const {}, - OnCssParseError? onCssParseError,
- ImageErrorListener? onImageError,
- bool shrinkWrap = false,
- OnTap? onImageTap,
- List<
String> tagsList = const [], - Map<
String, CSS3> style = const {},
Implementation
HTML5.fromDom({
Key? key,
GlobalKey? anchorKey,
@required dom.Document? document,
this.onLinkTap,
this.onAnchorTap,
this.customRenders = const {},
this.onCssParseError,
this.onImageError,
this.shrinkWrap = false,
this.onImageTap,
this.tagsList = const [],
this.style = const {},
}) : data = null,
assert(document != null),
documentElement = document!.documentElement,
_anchorKey = anchorKey ?? GlobalKey(),
super(key: key);