EduBadgeText constructor

const EduBadgeText({
  1. Key? key,
  2. required String text,
  3. bool isRequired = false,
  4. TextStyle textStyle = const TextStyle(fontFamily: "Inter", color: Color(0xFF344054), fontSize: 14, fontWeight: FontWeight.w500),
})

Implementation

const EduBadgeText({
  super.key,
  required this.text,
  this.isRequired = false,
  this.textStyle = const TextStyle(
    fontFamily: "Inter",
    color: Color(0xFF344054),
    fontSize: 14,
    fontWeight: FontWeight.w500,
  ),
});