herrVonMuellerhoffTextTheme method
- [TextTheme textTheme]
Applies the Herr Von Muellerhoff font family from Google Fonts to every
TextStyle in the given textTheme
.
See:
Implementation
static TextTheme herrVonMuellerhoffTextTheme([TextTheme textTheme]) {
textTheme ??= ThemeData.light().textTheme;
return TextTheme(
headline1:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.headline1),
headline2:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.headline2),
headline3:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.headline3),
headline4:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.headline4),
headline5:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.headline5),
headline6:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.headline6),
subtitle1:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.subtitle1),
subtitle2:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.subtitle2),
bodyText1:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.bodyText1),
bodyText2:
GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.bodyText2),
caption: GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.caption),
button: GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.button),
overline: GoogleFonts.herrVonMuellerhoff(textStyle: textTheme?.overline),
);
}