lavishlyYoursTextTheme static method

TextTheme lavishlyYoursTextTheme(
  1. [TextTheme? textTheme]
)

Applies the Lavishly Yours font family from Google Fonts to every TextStyle in the given textTheme.

See:

Implementation

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