GrxTextStyle constructor

const GrxTextStyle({
  1. double? fontSize,
  2. FontWeight? fontWeight,
  3. Color? color,
  4. TextDecoration? decoration,
  5. Color? decorationColor,
  6. TextDecorationStyle? decorationStyle,
  7. double? decorationThickness,
  8. TextOverflow? overflow,
})

Creates a Design System's TextStyle with pre-defined package and font family.

Implementation

const GrxTextStyle({
  super.fontSize,
  super.fontWeight,
  super.color,
  super.decoration,
  super.decorationColor,
  super.decorationStyle,
  super.decorationThickness,
  final TextOverflow? overflow,
}) : super(
       package: GrxUtils.packageName,
       fontFamily: GrxFontFamilies.montserrat,
       overflow: overflow ?? TextOverflow.ellipsis,
     );