secondaryTextStyle static method
TextStyle
secondaryTextStyle({
- int? size,
- Color? color,
- FontWeight? weight,
- String? fontFamily,
- double? letterSpacing,
- FontStyle? fontStyle,
- double? wordSpacing,
- TextDecoration? decoration,
- TextDecorationStyle? textDecorationStyle,
- TextBaseline? textBaseline,
- Color? decorationColor,
- Color? backgroundColor,
- double? height,
Implementation
static TextStyle secondaryTextStyle({
int? size,
Color? color,
FontWeight? weight,
String? fontFamily,
double? letterSpacing,
FontStyle? fontStyle,
double? wordSpacing,
TextDecoration? decoration,
TextDecorationStyle? textDecorationStyle,
TextBaseline? textBaseline,
Color? decorationColor,
Color? backgroundColor,
double? height,
}) {
return TextStyle(
fontSize: size != null ? size.toDouble() : hcTextSecondarySizeGlobal,
color: color ?? hcTextSecondaryColorGlobal,
fontWeight: weight ?? hcFontWeightSecondaryGlobal,
fontFamily: fontFamily ?? hcFontFamilySecondaryGlobal,
letterSpacing: letterSpacing,
fontStyle: fontStyle,
decoration: decoration,
decorationStyle: textDecorationStyle,
decorationColor: decorationColor,
wordSpacing: wordSpacing,
textBaseline: textBaseline,
backgroundColor: backgroundColor,
height: height,
);
}