PreferenceSection

fun PreferenceGroupScope.PreferenceSection(expandable: PreferenceSection.Expandable = PreferenceSection.Expandable.Disabled, enabled: Dependency = Dependency.Enabled, visible: Dependency = Dependency.Enabled, title: String? = null, subtitle: String? = null, icon: @Composable () -> Unit? = null, itemStyle: PreferenceItemStyle = LocalPreferenceSettings.current.style.defaultSectionItemStyle, titleRenderer: @Composable (text: AnnotatedString) -> Unit = { Text(it) }, subtitleRenderer: @Composable (text: AnnotatedString) -> Unit = { Text(it) }, filterTags: List<String> = emptyList(), content: @Composable PreferenceSectionScope.() -> Unit)

A section preference item

 

Basic Parameters: all params not described here are derived from com.michaelflisar.composepreferences.core.composables.BasePreference, check it out for more details