Text constructor
Text(
- String text, {
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? softWrap,
- bool tightBounds = false,
- double textScaleFactor = 1.0,
- int? maxLines,
- TextOverflow? overflow,
Creates a Text.
Implementation
Text(
this.text, {
this.style,
this.textAlign,
this.textDirection,
this.softWrap,
this.tightBounds = false,
this.textScaleFactor = 1.0,
this.maxLines,
this.overflow,
});