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