CustomTextClick constructor

const CustomTextClick({
  1. Key? key,
  2. String? txt = "",
  3. Function? function,
  4. Color? color = Colors.black,
  5. FontWeight? fontWeight = FontWeight.bold,
  6. String? fontfamily = '',
  7. TextAlign? textAlign = TextAlign.center,
  8. double? fontSize = 5,
})

Implementation

const CustomTextClick(
    {super.key,
      this.txt = "",
      this.function ,
      this.color = Colors.black,
      this.fontWeight = FontWeight.bold,
      this.fontfamily = '',
      this.textAlign = TextAlign.center,
      this.fontSize = 5
    }) ;