fontElMessiri function
Returns a TextStyle using the El Messiri font.
Parameters:
size: Font size.textColor: Color of the text.fontWeight: FontWeight of the text.
Implementation
TextStyle fontElMessiri({
double? size,
Color? textColor,
FontWeight? fontWeight,
}) {
return GoogleFonts.elMessiri(
fontWeight: fontWeight ?? FontWeight.normal,
fontSize: size ?? 16,
color: textColor ?? AppColors.blackDark,
);
}