sulphurPointTextTheme static method

TextTheme sulphurPointTextTheme(
  1. [TextTheme? textTheme]
)

Applies the Sulphur Point font family from Google Fonts to every TextStyle in the given textTheme.

See:

Implementation

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