spectralTextTheme static method

TextTheme spectralTextTheme([
  1. TextTheme? textTheme
])

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

See:

Implementation

static TextTheme spectralTextTheme([TextTheme? textTheme]) {
  return GoogleFonts._spectralTextTheme(textTheme);
}