DNTextStyle constructor

DNTextStyle({
  1. Color? color,
  2. double? fontSize,
  3. FontWeight? fontWeight,
  4. double? letterSpacing,
  5. double? height,
  6. String? fontFamily,
  7. TextDecoration? decoration,
  8. Color? decorationColor,
  9. TextDecorationStyle? decorationStyle,
  10. double? decorationThickness,
})

Implementation

DNTextStyle({
  super.color,
  double? fontSize,
  super.fontWeight,
  super.letterSpacing,
  super.height,
  String? fontFamily,
  super.decoration,
  super.decorationColor,
  super.decorationStyle,
  super.decorationThickness,
}) : super(
       fontSize: fontSize ?? DN.theme.fontSize,
       fontFamily: fontFamily ?? DN.theme.data.fontFamily,
     );