Text constructor

Text(
  1. String data, {
  2. Key? key,
  3. double? fontSize,
  4. String? color,
  5. String? fontWeight,
  6. String? textAlign,
  7. int? maxLines,
  8. String? overflow,
  9. double? letterSpacing,
  10. double? height,
  11. String? fontFamily,
  12. String? decoration,
  13. String? decorationColor,
})

Implementation

Text(
  this.data, {
  Key? key,
  this.fontSize,
  this.color,
  this.fontWeight,
  this.textAlign,
  this.maxLines,
  this.overflow,
  this.letterSpacing,
  this.height,
  this.fontFamily,
  this.decoration,
  this.decorationColor,
}) : super(key: key);