RegularTextStyle constructor

const RegularTextStyle({
  1. required double fontSize,
  2. Color? color,
  3. double? height,
  4. TextOverflow? overflow,
  5. TextDecoration? decoration,
  6. double? letterSpacing,
})

Implementation

const RegularTextStyle({
  required this.fontSize,
  this.color,
  this.height,
  this.overflow,
  this.decoration,
  this.letterSpacing,
}) : super(
        fontFamily: 'PingFang SC',
        fontWeight: FontWeight.w400,
        overflow: overflow,
        decoration: decoration,
        fontSize: fontSize,
        letterSpacing: letterSpacing,
        color: color,
        height: height,
        // backgroundColor: Colors.red,
      );