AdaptiveRichText constructor

const AdaptiveRichText(
  1. InlineSpan textSpan, {
  2. Key? key,
  3. TextAlign textAlign = TextAlign.start,
  4. TextDirection? textDirection,
  5. bool softWrap = true,
  6. TextOverflow overflow = TextOverflow.clip,
  7. int? maxLines,
  8. bool scaleText = true,
})

Creates an adaptive rich text widget.

Implementation

const AdaptiveRichText(
  this.textSpan, {
  super.key,
  this.textAlign = TextAlign.start,
  this.textDirection,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
  this.maxLines,
  this.scaleText = true,
});