eastSeaDokdoTextTheme static method

TextTheme eastSeaDokdoTextTheme([
  1. TextTheme? textTheme
])

Applies the East Sea Dokdo font family from Google Fonts to every TextStyle in the given textTheme.

See:

Implementation

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