Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun PreferenceScope.PreferenceCustom(onClick: () -> Unit? = null, onLongClick: () -> Unit? = null, enabled: Dependency = Dependency.Enabled, visible: Dependency = Dependency.Enabled, itemStyle: PreferenceItemStyle = LocalPreferenceSettings.current.style.defaultItemStyle, itemSetup: PreferenceItemSetup = PreferenceCustomDefaults.itemSetup(), filterTags: List<String> = emptyList(), content: @Composable ColumnScope.() -> Unit)

A info preference item

Link copied to clipboard
fun PreferenceScope.PreferenceDivider(enabled: Dependency = Dependency.Enabled, visible: Dependency = Dependency.Enabled, itemStyle: PreferenceItemStyle = LocalPreferenceSettings.current.style.defaultItemStyle, filterTags: List<String> = emptyList())

A divider preference item

Link copied to clipboard
fun PreferenceScope.PreferenceInfo(onLongClick: () -> Unit? = null, title: String, enabled: Dependency = Dependency.Enabled, visible: Dependency = Dependency.Enabled, subtitle: String? = null, icon: @Composable () -> Unit? = null, itemStyle: PreferenceItemStyle = LocalPreferenceSettings.current.style.defaultItemStyle, itemSetup: PreferenceItemSetup = PreferenceInfoDefaults.itemSetup(), titleRenderer: @Composable (text: AnnotatedString) -> Unit = { Text(it) }, subtitleRenderer: @Composable (text: AnnotatedString) -> Unit = { Text(it) }, filterTags: List<String> = emptyList())

A info preference item

Link copied to clipboard
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

Link copied to clipboard
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

Link copied to clipboard
fun PreferenceScope.PreferenceSubScreen(enabled: Dependency = Dependency.Enabled, visible: Dependency = Dependency.Enabled, title: String, subtitle: String? = null, icon: @Composable () -> Unit? = null, itemStyle: PreferenceItemStyle = LocalPreferenceSettings.current.style.defaultGroupItemStyle, titleRenderer: @Composable (text: AnnotatedString) -> Unit = { Text(it) }, subtitleRenderer: @Composable (text: AnnotatedString) -> Unit = { Text(it) }, filterTags: List<String> = emptyList(), content: @Composable PreferenceGroupScope.() -> Unit)

A group preference item