PriceVariant
Pre-defined styles for the Button component
Parameters
It indicates whether the text style is strikeout TextDecoration.LineThrough or not TextDecoration.None.
It indicates whether the font weight is regular FontWeight.Normal or default FontWeight.W700.
It enforces the price to use SkapaColors.textAndIcon2. The default color is SkapaColors.textAndIcon1.
Adds a minus sign at the beginning of the price. Using negative prices forces PriceSizeStyle.SingleSize and also not compatible with BTI.
See also
Samples
net.ikea.skapa.ui.samples.PriceSampleInheritors
Types
The BTI (Breath Taking Item) price display styling highlights the price in a BTI box. This styling can only be applied on the leading price variation.
Comparison prices are used alongside an instance of a leading price. They are typically smaller than the leading price and can compare things like non-member prices (Normal price) or a movement from a previous price (Price strikeout).
This is the leading price display used for most price presentations at IKEA. The price display has two style variations called PriceSizeStyle.MixedSize Size and PriceSizeStyle.SingleSize.