CustomParcelizableFontProvider

Class that allows to provide a font family for all text styles.

Parameters

fontFamily

the PaywallFontFamily to be used for all text styles.

Constructors

Link copied to clipboard
constructor(fontFamily: PaywallFontFamily)

Functions

Link copied to clipboard
open override fun getFont(type: TypographyType): PaywallFontFamily

Returns the PaywallFontFamily to be used for the given TypographyType. If null is returned, the default font will be used.