Hypertext constructor
const
Hypertext(
- String text, {
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- TextScaler? textScaler,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- Color? selectionColor,
- HypertextEventHandler? onMarkupEvent,
- bool? lowercaseAttrName,
- bool? lowercaseElementName,
- bool? ignoreErrorMarkup,
- ColorMapper? colorMapper,
- 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,
});