h2WithOpacity static method

TextStyle h2WithOpacity(
  1. String primaryColor
)

Implementation

static TextStyle h2WithOpacity(String primaryColor) {
  return GoogleFonts.lato(
    fontWeight: VgkProGamingTheme.fontWeightLarge,
    fontSize: VgkProGamingTheme.fontSizeLarge,
    letterSpacing: VgkProGamingTheme.letterSpacing,
    color: HexColor(primaryColor).withOpacity(0.5),
  );
}