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