NikuRichText constructor

NikuRichText(
  1. NikuTextSpan text, {
  2. Key? key,
  3. TextAlign? textAlign,
  4. TextDirection? textDirection,
  5. bool? softWrap,
  6. TextOverflow? overflow,
  7. double? textScaleFactor,
  8. int? maxLines,
  9. Locale? locale,
  10. NikuStrutStyle? strutStyle,
  11. TextWidthBasis? textWidthBasis,
  12. TextHeightBehavior? textHeightBehavior,
})

Implementation

NikuRichText(
  this.text, {
  this.key,
  this.textAlign,
  this.textDirection,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.locale,
  this.strutStyle,
  this.textWidthBasis,
  this.textHeightBehavior,
}) : super(key: key);