METext constructor

const METext({
  1. Key? key,
  2. FontWeight fontWeight = FontWeight.w400,
  3. Color color = Colors.black,
  4. double fontSize = 12,
  5. double letterSpacing = 0.5,
  6. double height = 1,
  7. TextOverflow? overflow,
  8. int? maxLine,
  9. required String text,
  10. 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);