getFontFamily

open fun getFontFamily(locale: Locale): FontFamily

The font family used in the theme.

Defaults to FontFamily.Default (system font). You can provide a custom font family, for example: FontFamily(Font(R.font.my_custom_font)).

Parameters

locale

The locale to use for the font family.