getTextStyle static method
TextStyle
getTextStyle({
- double fontSize = 24,
- FontWeight fontWeight = FontWeight.normal,
- String fontFamily = Constants.englishFontFamily,
- required Color color,
- dynamic textDecoration = TextDecoration.none,
Implementation
static TextStyle getTextStyle({
double fontSize = 24,
FontWeight fontWeight = FontWeight.normal,
String fontFamily = Constants.englishFontFamily,
required Color color,
textDecoration = TextDecoration.none,
}) {
return TextStyle(
fontFamily: fontFamily,
fontWeight: fontWeight,
fontSize: fontSize,
color: color,
decoration: textDecoration);
}