RichText constructor
RichText({
- required InlineSpan text,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? softWrap,
- bool tightBounds = false,
- double textScaleFactor = 1.0,
- int? maxLines,
- TextOverflow? overflow = TextOverflow.visible,
- Hyphenation? hyphenation,
Implementation
RichText({
required this.text,
this.textAlign,
this.textDirection,
this.softWrap,
this.tightBounds = false,
this.textScaleFactor = 1.0,
this.maxLines,
this.overflow = TextOverflow.visible,
this.hyphenation,
});