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