RenderRichText constructor
RenderRichText({
- required TextSpan text,
- int? maxLines,
- TextOverflow overflow = TextOverflow.clip,
Creates a RenderRichText with the given text and overflow configuration.
Implementation
RenderRichText({
required TextSpan text,
int? maxLines,
TextOverflow overflow = TextOverflow.clip,
}) : _text = text,
_maxLines = maxLines,
_overflow = overflow;