secondaryTextStyle static method

TextStyle secondaryTextStyle({
  1. int? size,
  2. Color? color,
  3. FontWeight? weight,
  4. String? fontFamily,
  5. double? letterSpacing,
  6. FontStyle? fontStyle,
  7. double? wordSpacing,
  8. TextDecoration? decoration,
  9. TextDecorationStyle? textDecorationStyle,
  10. TextBaseline? textBaseline,
  11. Color? decorationColor,
  12. Color? backgroundColor,
  13. 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() : textSecondarySizeGlobal,
    color: color ?? textSecondaryColorGlobal,
    fontWeight: weight ?? fontWeightSecondaryGlobal,
    fontFamily: fontFamily ?? fontFamilySecondaryGlobal,
    letterSpacing: letterSpacing,
    fontStyle: fontStyle,
    decoration: decoration,
    decorationStyle: textDecorationStyle,
    decorationColor: decorationColor,
    wordSpacing: wordSpacing,
    textBaseline: textBaseline,
    backgroundColor: backgroundColor,
    height: height,
  );
}