CustomText constructor

const CustomText(
  1. String text, {
  2. Key? key,
  3. Color? color,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. FontStyle? fontStyle,
  7. TextDecoration? decoration,
  8. TextOverflow? overflow,
  9. int? maxLines,
  10. double? height,
  11. TextAlign? textAlign,
  12. TextBaseline? textBaseline,
  13. String? fontFamily,
  14. TextWidthBasis? textWidthBasis,
  15. Locale? locale,
  16. bool? softWrap,
  17. bool? useShadow = false,
})

Implementation

const CustomText(
  this.text, {
  super.key,
  this.color,
  this.fontSize,
  this.fontWeight,
  this.fontStyle,
  this.decoration,
  this.overflow,
  this.maxLines,
  this.height,
  this.textAlign,
  this.textBaseline,
  this.fontFamily,
  this.textWidthBasis,
  this.locale,
  this.softWrap,
  this.useShadow = false,
});