petronaTextTheme static method

TextTheme petronaTextTheme([
  1. TextTheme? textTheme
])

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

See:

Implementation

static TextTheme petronaTextTheme([TextTheme? textTheme]) {
  return GoogleFonts._petronaTextTheme(textTheme);
}