GrxBodyTextStyle constructor
const
GrxBodyTextStyle({
- Color? color,
- TextDecoration? decoration,
- TextOverflow? overflow = TextOverflow.ellipsis,
- FontWeight? fontWeight,
Creates a Design System's TextStyle with pre-defined font size and font weight
Implementation
const GrxBodyTextStyle({
super.color,
super.decoration,
super.overflow,
final FontWeight? fontWeight,
}) : super(
fontSize: 16,
fontWeight: fontWeight ?? GrxFontWeights.regular,
);