spartanTextTheme static method

TextTheme spartanTextTheme([
  1. TextTheme? textTheme
])

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

See:

Implementation

static TextTheme spartanTextTheme([TextTheme? textTheme]) {
  return GoogleFonts._spartanTextTheme(textTheme);
}