PreferenceItemSetup

constructor(trailingContentSize: PreferenceItemSetup.TrailingContentSize = TrailingContentSize(), ignoreForceNoIconInset: Boolean = false, minHeight: Dp = 56.dp, minSubTitleExtraHeight: Dp = 16.dp, contentPlacementBottom: Boolean = false, alignment: Alignment.Vertical = Alignment.CenterVertically, hideTitle: Boolean = false, excludeFromSectionStyle: Boolean = false)

Parameters

trailingContentSize

the TrailingContentSize for a preference item

ignoreForceNoIconInset

if true, the preference item will ignore the flag from PreferenceSettings.forceNoIconInset

minHeight

the forced minimum height for the preference item

minSubTitleExtraHeight

the forced minimum height addition if the preference item has a sub title

contentPlacementBottom

if true, the content of this item will be place below the title/subtitle instead of behind it as trailing content

alignment

the alignment of the preference item content

hideTitle

if true, the title will not be displayed (allows the content to take up its place)

excludeFromSectionStyle

if true, the item will not be styled as a section item and will break the section style up if it is placed in the middle of a section