EText constructor

const EText(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. bool bold = false,
  5. bool italic = false,
  6. bool gray = false,
  7. Color? customColor,
  8. TextAlign? align,
  9. int? maxLines,
  10. TextOverflow? overflow,
  11. TextDecoration? decoration,
  12. TextDecorationStyle? decorationStyle,
})

Implementation

const EText(
  this.text, {
  super.key,
  this.style,
  this.bold = false,
  this.italic = false,
  this.gray = false,
  this.customColor,
  this.align,
  this.maxLines,
  this.overflow,
  this.decoration,
  this.decorationStyle,
});