notoSansBatakTextTheme static method

TextTheme notoSansBatakTextTheme(
  1. [TextTheme? textTheme]
)

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

See:

Implementation

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