buttonTextStyle static method

TextStyle buttonTextStyle(
  1. BuildContext context,
  2. Color? color
)

Implementation

static TextStyle buttonTextStyle(BuildContext context, Color? color) {
  return TextStyle(
    fontFamily: fontName,
    package: fontPackage,
    fontFamilyFallback: fontFallbacks,
    fontSize: FontSizes.small,
    color: color,
    letterSpacing: letterSpacing,
    height: lineHeight,
  );
}