normalBold static method

TextStyle normalBold(
  1. BuildContext context, {
  2. Color? textColor,
  3. FontWeight? fontWeight,
})

Implementation

static TextStyle normalBold(BuildContext context, {Color? textColor, FontWeight? fontWeight}) {
  return TextStyle(
    fontFamily: 'Poppins',
    package: 'shared_component',
    fontSize: FontSizes.normal,
    fontWeight: fontWeight ?? FontWeight.bold,
    color: textColor ?? Theme.of(context).textTheme.bodyLarge?.color,
  );
}