UHtmlView constructor
const
UHtmlView({
- required String html,
- Key? key,
- ValueChanged<
String> ? onLinkTap, - ValueChanged<
String> ? onImageTap, - void onChecklistChanged()?,
- UHtmlImageBuilder? imageBuilder,
- bool selectable = false,
- bool showCodeCopyButton = true,
- EdgeInsets padding = EdgeInsets.zero,
- TextStyle? textStyle,
- TextDirection? textDirection,
- double? imageHeight,
- bool scrollable = false,
Implementation
const UHtmlView({
required this.html,
super.key,
this.onLinkTap,
this.onImageTap,
this.onChecklistChanged,
this.imageBuilder,
this.selectable = false,
this.showCodeCopyButton = true,
this.padding = EdgeInsets.zero,
this.textStyle,
this.textDirection,
this.imageHeight,
this.scrollable = false,
});