CustomText constructor

const CustomText({
  1. FontWeight fontWeight = FontWeight.normal,
  2. double fontSize = 14,
  3. Color fontColor = kBlack,
  4. required String text,
  5. Key? key,
})

Implementation

const CustomText({
  this.fontWeight = FontWeight.normal,
  this.fontSize = 14,
  this.fontColor = kBlack,
  required this.text,
  Key? key,
}) : super(key: key);