GrxDisplayTextStyle constructor
const
GrxDisplayTextStyle({
- Color? color,
- TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
- TextOverflow? overflow,
- FontWeight? fontWeight,
Creates a Design System's TextStyle with pre-defined font size and font weight
Implementation
const GrxDisplayTextStyle({
super.color,
super.decoration,
super.decorationColor,
super.decorationStyle,
super.decorationThickness,
super.overflow,
final FontWeight? fontWeight,
}) : super(fontSize: 40, fontWeight: fontWeight ?? GrxFontWeights.bold);