RenderText constructor

RenderText({
  1. required String text,
  2. TextStyle? style,
  3. bool softWrap = true,
  4. int? maxLines,
  5. 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,
});