heading3 static method

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

Implementation

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