CustomText constructor

const CustomText({
  1. Key? key,
  2. required String text,
  3. double fontSize = 13,
  4. Color color = const Color(0xFF222222),
  5. FontWeight? fontWeight,
  6. String fontFamily = 'Figtree',
  7. TextAlign? textAlign,
})

Implementation

const CustomText({
  super.key,
  required this.text,
  this.fontSize = 13,
  this.color = const Color(0xFF222222),
  this.fontWeight,
  this.fontFamily = 'Figtree',
  this.textAlign,
});