regular static method
Implementation
static TextStyle regular({
double? height,
double? letterSpacing,
Color color = Colors.black,
bool isUnderline = false,
double fontSize = 15,
}) {
return GoogleFonts.roboto(
fontSize: fontSize,
fontWeight: FontWeight.w400,
color: color,
height: height,
decoration:
isUnderline ? TextDecoration.underline : TextDecoration.none,
letterSpacing: letterSpacing);
}