Hypertext constructor

const Hypertext(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. StrutStyle? strutStyle,
  5. TextAlign? textAlign,
  6. TextDirection? textDirection,
  7. Locale? locale,
  8. bool? softWrap,
  9. TextOverflow? overflow,
  10. TextScaler? textScaler,
  11. int? maxLines,
  12. String? semanticsLabel,
  13. TextWidthBasis? textWidthBasis,
  14. TextHeightBehavior? textHeightBehavior,
  15. Color? selectionColor,
  16. HypertextEventHandler? onMarkupEvent,
  17. bool? lowercaseAttrName,
  18. bool? lowercaseElementName,
  19. bool? ignoreErrorMarkup,
  20. ColorMapper? colorMapper,
  21. List<HyperMarkup>? markups,
})

Implementation

const Hypertext(
  this.text, {
  super.key,
  this.style,
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaler,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectionColor,
  this.onMarkupEvent,
  this.lowercaseAttrName,
  this.lowercaseElementName,
  this.ignoreErrorMarkup,
  this.colorMapper,
  this.markups,
});