customTextStyle static method

TextStyle customTextStyle({
  1. double? fontSize,
  2. double? lineHeight,
  3. TextDecoration? textDecoration,
  4. FontWeight? fontWeight,
  5. Color? color,
})

Implementation

static TextStyle customTextStyle({
  double? fontSize,
  double? lineHeight,
  TextDecoration? textDecoration,
  FontWeight? fontWeight,
  Color? color,
}) {
  return GoogleFonts.plusJakartaSans(
    fontSize: fontSize,
    height: lineHeight,
    color: color ?? AppColor.colorDark,
    fontWeight: fontWeight,
    decoration: textDecoration,
  );
}