libreBarcode39ExtendedTextTheme static method

TextTheme libreBarcode39ExtendedTextTheme(
  1. [TextTheme? textTheme]
)

Applies the Libre Barcode 39 Extended font family from Google Fonts to every TextStyle in the given textTheme.

See:

Implementation

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