monsieurLaDoulaiseTextTheme static method
- [TextTheme? textTheme]
Applies the Monsieur La Doulaise font family from Google Fonts to every
TextStyle in the given textTheme
.
See:
Implementation
static TextTheme monsieurLaDoulaiseTextTheme([TextTheme? textTheme]) {
textTheme ??= ThemeData.light().textTheme;
return TextTheme(
displayLarge:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.displayLarge),
displayMedium:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.displayMedium),
displaySmall:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.displaySmall),
headlineLarge:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.headlineLarge),
headlineMedium:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.headlineMedium),
headlineSmall:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.headlineSmall),
titleLarge:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.titleLarge),
titleMedium:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.titleMedium),
titleSmall:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.titleSmall),
bodyLarge: GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.bodyLarge),
bodyMedium:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.bodyMedium),
bodySmall: GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.bodySmall),
labelLarge:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.labelLarge),
labelMedium:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.labelMedium),
labelSmall:
GoogleFonts.monsieurLaDoulaise(textStyle: textTheme.labelSmall),
);
}