RenderHtmlWidget constructor

const RenderHtmlWidget({
  1. Key? key,
  2. required String htmlContent,
  3. double fontSize = 13.0,
  4. FontWeight? fontWeight,
  5. Color? textColor,
  6. TextAlign textAlign = TextAlign.start,
  7. String? fontFamily,
  8. double? lineHeight,
  9. bool responsive = true,
  10. ValueChanged<String>? onLinkTap,
})

Creates an HTML renderer.

Implementation

const RenderHtmlWidget({
  super.key,
  required this.htmlContent,
  this.fontSize = 13.0,
  this.fontWeight,
  this.textColor,
  this.textAlign = TextAlign.start,
  this.fontFamily,
  this.lineHeight,
  this.responsive = true,
  this.onLinkTap,
});