getTextStyle function

TextStyle getTextStyle({
  1. double textSize = 12,
  2. FontStyle fontStyle = FontStyle.normal,
  3. FontWeight fontWeight = FontWeight.w600,
  4. Color fontColor = Colors.black,
})

Implementation

TextStyle getTextStyle({double textSize = 12,FontStyle fontStyle = FontStyle.normal,FontWeight fontWeight = FontWeight.w600,Color fontColor = Colors.black}){
  return GoogleFonts.montserrat(
      fontSize: textSize,
      fontStyle: fontStyle,
      fontWeight: fontWeight,
      color: fontColor);
}