notoSansOldSogdianTextTheme static method

TextTheme notoSansOldSogdianTextTheme(
  1. [TextTheme? textTheme]
)

Applies the Noto Sans Old Sogdian font family from Google Fonts to every TextStyle in the given textTheme.

See:

Implementation

static TextTheme notoSansOldSogdianTextTheme([TextTheme? textTheme]) {
  textTheme ??= ThemeData.light().textTheme;
  return TextTheme(
    displayLarge:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.displayLarge),
    displayMedium:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.displayMedium),
    displaySmall:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.displaySmall),
    headlineLarge:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.headlineLarge),
    headlineMedium:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.headlineMedium),
    headlineSmall:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.headlineSmall),
    titleLarge:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.titleLarge),
    titleMedium:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.titleMedium),
    titleSmall:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.titleSmall),
    bodyLarge: GoogleFonts.notoSansOldSogdian(textStyle: textTheme.bodyLarge),
    bodyMedium:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.bodyMedium),
    bodySmall: GoogleFonts.notoSansOldSogdian(textStyle: textTheme.bodySmall),
    labelLarge:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.labelLarge),
    labelMedium:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.labelMedium),
    labelSmall:
        GoogleFonts.notoSansOldSogdian(textStyle: textTheme.labelSmall),
  );
}