buttonText static method
TextStyle
buttonText({
- Color color = Colors.white,
- KRButtonSize fontSize = KRButtonSize.regular,
- bool isBold = false,
Implementation
static TextStyle buttonText(
{Color color = Colors.white,
KRButtonSize fontSize = KRButtonSize.regular,
bool isBold = false}) {
return TextStyle(
color: color,
fontSize: fontSize.fontSize,
fontWeight: isBold ? FontWeight.bold : FontWeight.normal);
}