slabo27pxTextTheme static method
Applies the Slabo 27px font family from Google Fonts to every
TextStyle in the given textTheme
.
See:
Implementation
static TextTheme slabo27pxTextTheme([TextTheme? textTheme]) {
textTheme ??= ThemeData.light().textTheme;
return TextTheme(
displayLarge: GoogleFonts.slabo27px(textStyle: textTheme.displayLarge),
displayMedium: GoogleFonts.slabo27px(textStyle: textTheme.displayMedium),
displaySmall: GoogleFonts.slabo27px(textStyle: textTheme.displaySmall),
headlineLarge: GoogleFonts.slabo27px(textStyle: textTheme.headlineLarge),
headlineMedium:
GoogleFonts.slabo27px(textStyle: textTheme.headlineMedium),
headlineSmall: GoogleFonts.slabo27px(textStyle: textTheme.headlineSmall),
titleLarge: GoogleFonts.slabo27px(textStyle: textTheme.titleLarge),
titleMedium: GoogleFonts.slabo27px(textStyle: textTheme.titleMedium),
titleSmall: GoogleFonts.slabo27px(textStyle: textTheme.titleSmall),
bodyLarge: GoogleFonts.slabo27px(textStyle: textTheme.bodyLarge),
bodyMedium: GoogleFonts.slabo27px(textStyle: textTheme.bodyMedium),
bodySmall: GoogleFonts.slabo27px(textStyle: textTheme.bodySmall),
labelLarge: GoogleFonts.slabo27px(textStyle: textTheme.labelLarge),
labelMedium: GoogleFonts.slabo27px(textStyle: textTheme.labelMedium),
labelSmall: GoogleFonts.slabo27px(textStyle: textTheme.labelSmall),
);
}