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