PaywallStyle

data class PaywallStyle(val tintColor: Color = Color.Unspecified, val containerColor: Color = Color.Unspecified, val productCardColor: Color = Color.Unspecified, val selectedBorderBrush: Brush? = null, val selectedBorderLineWidth: Dp = 1.5.dp)

Colors that the app can customize for the paywall and its product cards.

Constructors

Link copied to clipboard
constructor(tintColor: Color = Color.Unspecified, containerColor: Color = Color.Unspecified, productCardColor: Color = Color.Unspecified, selectedBorderBrush: Brush? = null, selectedBorderLineWidth: Dp = 1.5.dp)

Properties

Link copied to clipboard

The paywall background color. Uses the Material theme background color when unspecified.

Link copied to clipboard

The product card background color. Uses the Material theme surfaceContainerLow color when unspecified.

Link copied to clipboard

The selected border brush of the default product card. Uses tintColor when unspecified.

Link copied to clipboard

The selected border width of the default product card.

Link copied to clipboard

The accent color for selection and the purchase button. Uses the Material theme primary color when unspecified.