ptSerifTextTheme static method

TextTheme ptSerifTextTheme([
  1. TextTheme? textTheme
])

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

See:

Implementation

static TextTheme ptSerifTextTheme([TextTheme? textTheme]) {
  return GoogleFonts._ptSerifTextTheme(textTheme);
}