RegularTextStyle constructor
const
RegularTextStyle({
- required double fontSize,
- Color? color,
- double? height,
- TextOverflow? overflow,
- TextDecoration? decoration,
- 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,
);