AutoText constructor
const
AutoText(
- String text, {
- Key? key,
- TextStyle? style,
- TextAlign textAlign = TextAlign.start,
- int maxLines = 100,
- TextOverflow overflow = TextOverflow.ellipsis,
- double? fontSize = 16,
- String fontFamily = "Roboto",
- FontWeight? fontWeight = FontWeight.normal,
- Color? textColor,
Creates an AutoText
widget.
The text
parameter must not be null.
Implementation
const AutoText(this.text,
{super.key,
this.style,
this.textAlign = TextAlign.start,
this.maxLines = 100,
this.overflow = TextOverflow.ellipsis,
this.fontSize = 16,
this.fontFamily = "Roboto",
this.fontWeight = FontWeight.normal,
this.textColor});