getTextStyle function
TextStyle
getTextStyle({
- double textSize = 12,
- FontStyle fontStyle = FontStyle.normal,
- FontWeight fontWeight = FontWeight.w600,
- 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);
}