BoldTextStyle constructor

const BoldTextStyle({
  1. required double fontSize,
  2. Color? color,
  3. double? height,
  4. TextOverflow? overflow,
  5. TextDecoration? decoration,
  6. double? letterSpacing,
  7. Color? decorationColor,
  8. TextBaseline? textBaseline,
})

Implementation

const BoldTextStyle({
  required this.fontSize,
  this.color,
  this.height,
  this.overflow,
  this.decoration,
  this.letterSpacing,
  this.decorationColor,
  this.textBaseline,
}) : super(
        fontFamily: 'PingFang SC',
        fontWeight: FontWeight.bold,
        overflow: overflow,
        decoration: decoration,
        fontSize: fontSize,
        letterSpacing: letterSpacing,
        color: color,
        height: height,
        decorationColor: decorationColor,
        textBaseline: textBaseline,
      );