GrxTextStyle constructor
const
GrxTextStyle({
- double? fontSize,
- FontWeight? fontWeight,
- Color? color,
- TextDecoration? decoration,
- 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,
);