BaseTextStyle constructor
const
BaseTextStyle({
- Color? color,
- double? fontSize,
- double? height,
- FontWeight? fontWeight,
- TextDecoration? decoration,
Implementation
const BaseTextStyle(
{Color? color,
double? fontSize,
double? height,
FontWeight? fontWeight,
TextDecoration? decoration})
: super(
decoration: decoration ?? TextDecoration.none,
fontWeight: fontWeight ?? FontWeight.w500,
fontSize: fontSize ?? 14,
height: height,
color: color);