mediumBold static method

TextStyle mediumBold(
  1. BuildContext context, {
  2. Color? textColor,
})

Implementation

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