myText constructor

const myText({
  1. Key? key,
  2. required String text,
  3. Color? color,
  4. double? fontSize,
  5. FontWeight? bold,
  6. EdgeInsetsGeometry? padding,
  7. bool? softWrap,
  8. String? fontFamily,
  9. TextOverflow? overflow,
  10. TextAlign? textAlign,
})

Implementation

const myText({
  super.key,
  required this.text,
  this.color,
  this.fontSize,
  this.bold,
  this.padding,
  this.softWrap,
  this.fontFamily,
  this.overflow,
  this.textAlign,
});