MediumTextStyle constructor
const
MediumTextStyle({
- double? fontSize,
- Color? color,
- double? height,
- TextOverflow? overflow,
- TextDecoration? decoration,
- double? letterSpacing,
- Color? decorationColor,
- TextBaseline? textBaseline,
Implementation
const MediumTextStyle({
this.fontSize, // 临时去掉require 后续确实的地方需要补充回来
this.color,
this.height,
this.overflow,
this.decoration,
this.letterSpacing,
this.decorationColor,
this.textBaseline,
}) : super(
fontFamily: 'PingFang SC',
fontWeight: FontWeight.w500,
overflow: overflow,
decoration: decoration,
fontSize: fontSize,
letterSpacing: letterSpacing,
color: color,
height: height,
decorationColor: decorationColor,
textBaseline: textBaseline,
);