customTextLargeStyle static method

TextStyle customTextLargeStyle({
  1. Color? color = ThemeColors.textColor,
  2. String? fontName,
  3. double? textSize,
  4. FontWeight? fontWeight,
})

Implementation

static TextStyle customTextLargeStyle({Color? color = ThemeColors.textColor, String? fontName, double? textSize, FontWeight? fontWeight}) {
  return GoogleFonts.getFont(fontName ?? prefsHelper.getFontName(),
      color: color, fontWeight: fontWeight ?? FontWeight.w500, fontSize: textSize ?? Sizes.textSizeLargeDefault, fontStyle: FontStyle.normal);
}