customTextSmallItalictStyle static method

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

Implementation

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