GrxDisplayTextStyle constructor

const GrxDisplayTextStyle({
  1. Color? color,
  2. TextDecoration? decoration,
  3. Color? decorationColor,
  4. TextDecorationStyle? decorationStyle,
  5. double? decorationThickness,
  6. TextOverflow? overflow,
  7. 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);