heading1 static method

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

Implementation

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