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