errorContainer

fun errorContainer(shape: Shape = LocalPreferenceSettings.current.style.defaultItemStyle.shape, innerPadding: PaddingValues = LocalPreferenceSettings.current.style.defaultItemStyle.innerPadding, outerPadding: PaddingValues = LocalPreferenceSettings.current.style.defaultItemStyle.outerPadding, alphaVariant: Float = PreferenceItemDefaults.DEFAULT_ALPHA_VARIANT): PreferenceItemStyle

this function returns a PreferenceItemStyle with error container background

Return

the PreferenceItemStyle holding the provided setup

Parameters

shape

the Shape of this item

alphaVariant

the alpha value used to calculate the variant color from the provided colors