UHtmlView constructor

const UHtmlView({
  1. required String html,
  2. Key? key,
  3. ValueChanged<String>? onLinkTap,
  4. ValueChanged<String>? onImageTap,
  5. void onChecklistChanged(
    1. int index,
    2. bool checked
    )?,
  6. UHtmlImageBuilder? imageBuilder,
  7. bool selectable = false,
  8. bool showCodeCopyButton = true,
  9. EdgeInsets padding = EdgeInsets.zero,
  10. TextStyle? textStyle,
  11. TextDirection? textDirection,
  12. double? imageHeight,
  13. 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,
});