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