labelStyle static method
TextStyle
labelStyle({
- double fontSize = 14,
- FontWeight fontWeight = FontWeight.w700,
- double letterSpacing = 1.2,
- Color? color,
Standard label style for all CTA buttons.
Has no BuildContext — font family is inherited from the app's text theme.
Implementation
static TextStyle labelStyle({
double fontSize = 14,
FontWeight fontWeight = FontWeight.w700,
double letterSpacing = 1.2,
Color? color,
}) =>
TextStyle(
fontSize: fontSize,
fontWeight: fontWeight,
letterSpacing: letterSpacing,
color: color,
);