-
public interface ParcelizableFontProviderImplement this interface to provide custom fonts to the PaywallActivityLauncher. If you don't, the default material3 theme fonts will be used. If you only want to use a single PaywallFontFamily for all text styles use CustomParcelizableFontProvider. Use FontProvider instead if you are using Compose with PaywallView or PaywallDialog.
-
-
Method Summary
Modifier and Type Method Description abstract PaywallFontFamilygetFont(TypographyType type)Returns the PaywallFontFamily to be used for the given TypographyType. -
-
Method Detail
-
getFont
abstract PaywallFontFamily getFont(TypographyType type)
Returns the PaywallFontFamily 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.
-
-
-
-