RenderText constructor
RenderText({
- required String text,
- TextStyle? style,
- bool softWrap = true,
- int? maxLines,
- TextOverflow overflow = TextOverflow.clip,
Creates a RenderText with the given text content and display configuration.
Implementation
RenderText({
required this.text,
this.style,
this.softWrap = true,
this.maxLines,
this.overflow = TextOverflow.clip,
});