GrxHeadlineSmallTextStyle constructor

const GrxHeadlineSmallTextStyle({
  1. Color? color,
  2. TextDecoration? decoration,
  3. TextOverflow? overflow = TextOverflow.ellipsis,
  4. FontWeight? fontWeight,
})

Creates a Design System's TextStyle with pre-defined font size and font weight

Implementation

const GrxHeadlineSmallTextStyle({
  super.color,
  super.decoration,
  super.overflow,
  final FontWeight? fontWeight,
}) : super(
        fontSize: 14,
        fontWeight: fontWeight ?? GrxFontWeights.semiBold,
      );