BaseTextStyle constructor

const BaseTextStyle({
  1. Color? color,
  2. double? fontSize,
  3. double? height,
  4. FontWeight? fontWeight,
  5. 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);