TextView constructor

const TextView({
  1. required String text,
  2. TextOverflow? textOverflow = TextOverflow.clip,
  3. TextAlign? textAlign = TextAlign.left,
  4. dynamic onTap()?,
  5. TextStyle? textStyle,
  6. Color? textColor,
  7. double? textSize,
  8. int? maxLines,
})

Implementation

const TextView(
    {
      required this.text,
      this.textOverflow = TextOverflow.clip,
      this.textAlign = TextAlign.left,
      this.onTap,
      this.textStyle,
      this.textColor,
      this.textSize,
      this.maxLines,});