Text constructor
const
Text(
- String text, {
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- int? maxLines,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
Text API.
Implementation
const Text(
this.text, {
this.style,
this.textAlign,
this.textDirection,
this.maxLines,
this.softWrap = true,
this.overflow = TextOverflow.clip,
});