AdaptiveRichText constructor
const
AdaptiveRichText(
- InlineSpan textSpan, {
- Key? key,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- int? maxLines,
- 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,
});