METext constructor
const
METext({
- Key? key,
- FontWeight fontWeight = FontWeight.w400,
- Color color = Colors.black,
- double fontSize = 12,
- double letterSpacing = 0.5,
- double height = 1,
- TextOverflow? overflow,
- int? maxLine,
- required String text,
- TextAlign? textAlign,
Implementation
const METext({
Key? key,
this.fontWeight = FontWeight.w400,
this.color = Colors.black,
this.fontSize = 12,
this.letterSpacing = 0.5,
this.height = 1,
this.overflow,
this.maxLine, required this.text, this.textAlign,
}) : super(key: key);