DNTextStyle constructor
DNTextStyle({
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- double? letterSpacing,
- double? height,
- String? fontFamily,
- TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
명시하지 않은 글꼴 속성을 현재 DN.theme에서 가져온다.
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,
);