-
public interface FontProviderImplement this interface to provide custom fonts to the PaywallView. If you don't, the current material3 theme typography will be used. If you only want to use a single FontFamily for all text styles use CustomFontProvider. This can't be used when launching the paywall as an activity since the fonts are not parcelable/serializable. Use FontResourceProvider instead.
-
-
Method Summary
Modifier and Type Method Description abstract FontFamilygetFont(TypographyType type)Returns the font to be used for the given TypographyType. -
-
Method Detail
-
getFont
abstract FontFamily getFont(TypographyType type)
Returns the font to be used for the given TypographyType. If null is returned, the default font will be used.
- Parameters:
type- the TypographyType for which the font is being requested.
-
-
-
-