textText static method
TextStyle
textText({
- Color color = Colors.black,
- KRTextSize fontSize = KRTextSize.body,
- bool isBold = false,
Implementation
static TextStyle textText(
{Color color = Colors.black,
KRTextSize fontSize = KRTextSize.body,
bool isBold = false}) {
return TextStyle(
color: color,
letterSpacing: 0.5,
fontSize: fontSize.value,
fontWeight: isBold ? FontWeight.bold : FontWeight.normal);
}