HashTagText constructor
HashTagText({
- required String text,
- required TextStyle basicStyle,
- required TextStyle decoratedStyle,
- bool decorateAtSign = false,
- dynamic onTap()?,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- double textScaleFactor = 1.0,
- int? maxLines,
- Locale? locale,
- StrutStyle? strutStyle,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- TextHeightBehavior? textHeightBehavior,
Implementation
HashTagText(
{required this.text,
required this.basicStyle,
required this.decoratedStyle,
this.decorateAtSign = false,
this.onTap,
this.textAlign = TextAlign.start,
this.textDirection,
this.softWrap = true,
this.overflow = TextOverflow.clip,
this.textScaleFactor = 1.0,
this.maxLines,
this.locale,
this.strutStyle,
this.textWidthBasis = TextWidthBasis.parent,
this.textHeightBehavior});