appBarTitle static method

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

Implementation

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