CustomTextStyle constructor

const CustomTextStyle({
  1. Color color = BasfColors.copyTextGrey,
  2. double? fontSize,
  3. String? fontFamily,
  4. FontWeight? fontWeight,
  5. double? lineHeight,
  6. double? letterSpacing,
})

Implementation

const CustomTextStyle({
  Color color = BasfColors.copyTextGrey,
  double? fontSize,
  String? fontFamily,
  FontWeight? fontWeight,
  double? lineHeight,
  double? letterSpacing,
}) : super(
        color: color,
        fontWeight: fontWeight,
        fontSize: fontSize,
        fontFamily: fontFamily,
        height: lineHeight,
        letterSpacing: letterSpacing,
      );