PreferenceScreen
fun PreferenceScreen(modifier: Modifier = Modifier, scrollable: Boolean = true, settings: PreferenceSettings = PreferenceSettingsDefaults.settings(), filter: PreferenceFilter? = null, state: PreferenceState = rememberPreferenceState(), handleBackPress: Boolean = true, content: @Composable PreferenceGroupScope.() -> Unit)
the root screen holding preference items
Parameters
modifier
the Modifier for this composable
scrollable
if true, this composable does wrap its content inside a scrollable container
settings
the PreferenceSettings for this screen - use PreferenceSettingsDefaults.settings to provide your own settings
filter
the PreferenceFilter for this screen - use rememberDefaultPreferenceFilter to use some of the predefined options or provide your own PreferenceFilter implementation
state
the PreferenceState for this screen - use rememberPreferenceState to create a new state
handleBackPress
if true, this screen will handle back press events and pop the last opened group from the PreferenceState when the back button is pressed
content
the content of this screen