GrxBodyTextStyle constructor

const GrxBodyTextStyle({
  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 GrxBodyTextStyle({
  super.color,
  super.decoration,
  super.overflow,
  final FontWeight? fontWeight,
}) : super(
        fontSize: 16,
        fontWeight: fontWeight ?? GrxFontWeights.regular,
      );