Txt constructor

const Txt(
  1. String txt, {
  2. Key? key,
  3. FontWeight fontWeight = FontWeight.normal,
  4. bool isBold = false,
  5. bool isItalic = false,
  6. bool isUnderline = false,
  7. String? fontFamily,
  8. Color? color,
  9. double? fontSize,
})

Implementation

const Txt(
  this.txt, {
  super.key,
  this.fontWeight = FontWeight.normal,
  this.isBold = false,
  this.isItalic = false,
  this.isUnderline = false,
  this.fontFamily,
  this.color,
  this.fontSize,
});