caption static method
TextStyle
caption({
- required BuildContext context,
- String? fontFamily,
- Color? color,
- FontWeight? weight,
- double? fontSize,
- double? height,
- double? letterSpacing,
Caption — an alias of AppTypography.labelSmall with regular weight.
Implementation
static TextStyle caption({
required BuildContext context,
String? fontFamily,
Color? color,
FontWeight? weight,
double? fontSize,
double? height,
double? letterSpacing,
}) =>
labelSmall(
context: context,
fontFamily: fontFamily,
color: color,
weight: weight ?? AppFontWeight.regular,
fontSize: fontSize,
height: height,
letterSpacing: letterSpacing,
);