RawText constructor

const RawText(
  1. String text, {
  2. Key? key,
  3. TextStyle style = const TextStyle(),
  4. TextAlign? align,
  5. int? maxLines,
  6. TextOverflow? overflow,
  7. bool? softWrap,
  8. StrutStyle? strutStyle,
  9. TextHeightBehavior? textHeightBehavior,
  10. TextScaler? textScaler,
  11. TextWidthBasis? textWidthBasis,
})

Creates a RenderObjectWidget that can display a String of text.

Implementation

const RawText(
  this.text, {
  super.key,
  this.style = const TextStyle(),
  this.align,
  this.maxLines,
  this.overflow,
  this.softWrap,
  this.strutStyle,
  this.textHeightBehavior,
  this.textScaler,
  this.textWidthBasis,
});