regularColor static method

TextStyle regularColor({
  1. double? height,
  2. double? letterSpacing,
  3. Color? color,
  4. bool isUnderline = false,
  5. double fontSize = 15,
})

Implementation

static TextStyle regularColor({
   double? height,
   double? letterSpacing,
   Color? color,
   bool isUnderline = false,
   double fontSize = 15,
 }) {
   return GoogleFonts.inter(
       fontSize: fontSize,
       fontWeight: FontWeight.w300,
       color: color??AppColors.primaryColor,
       height: height,
       decoration:
           isUnderline ? TextDecoration.underline : TextDecoration.none,
       letterSpacing: letterSpacing);
 }