Price

fun Price(price: String, type: PriceType, size: PriceSize, modifier: Modifier = Modifier, prefix: String? = null, footerContent: @Composable ColumnScope.() -> Unit? = null)

Localization is handled via the LocalLocaleList CompositionLocal.

PriceType.Basic

Basic Price Sample

PriceType.SpecialOffer

Special Offer Price Sample

PriceType.Discount

Discount Price Sample

PriceType.LidlPlus

Lidl Plus Price Sample

Parameters

price

String for the price. Please include the currency.

type

PriceType to configure the type of price.

size

PriceSize to configure the size of the price. Only affects the price.

modifier

optional Modifier to be applied to the Price. Defaults to Modifier.

prefix

optional String for the price prefix. Defaults to null.

footerContent

optional content for the footer of the price, like DoubleCurrency, FooterText, or FooterLinkText.