GrxTextStyle constructor

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

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.overflow = TextOverflow.ellipsis,
}) : super(
        package: GrxUtils.packageName,
        fontFamily: GrxFontFamilies.montserrat,
      );