customTextDefaultItalictStyle static method

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

Implementation

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