appBarTitle static method

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

Implementation

static TextStyle appBarTitle(BuildContext context, {Color? textColor}) {
  return TextStyle(
    fontFamily: fontName,
    package: fontPackage,
    fontFamilyFallback: fontFallbacks,
    fontSize: FontSizes.large,
    color: textColor ?? Theme.of(context).textTheme.bodyLarge?.color,
    fontWeight: FontWeight.bold,
    letterSpacing: letterSpacing,
    height: lineHeight,
  );
}