RawText constructor
const
RawText(
- String text, {
- Key? key,
- TextStyle style = const TextStyle(),
- TextAlign? align,
- int? maxLines,
- TextOverflow? overflow,
- bool? softWrap,
- StrutStyle? strutStyle,
- TextHeightBehavior? textHeightBehavior,
- TextScaler? textScaler,
- 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,
});