--- icon: material/puzzle --- The `plugin-kotpreferences` provides a seemless integration of my [KotPreferences](https://mflisar.github.io/KotPreferences) library. This simple module allows you to use my delegate based preference library `KotPreferences` inside the debug drawer. With this extension labels are e.g. directly derived from the KotPreference property. It offers composables for `Checkbox`, `Dropdown` and `SegmentedButton` debug drawer fields. ```kotlin fun DebugDrawerSettingCheckbox( setting: StorageSetting, modifier: Modifier = Modifier, image: @Composable (() -> Unit)? = null, foregroundTint: Color? = null, label: String = setting.getDebugLabel(), description: String = "" ) fun DebugDrawerSettingDropdown( modifier: Modifier = Modifier, setting: StorageSetting, items: List, image: @Composable (() -> Unit)? = null, label: String = setting.getDebugLabel(), labelProvider: (item: T) -> String = { it.toString() } ) fun DebugDrawerSettingSegmentedButtons( modifier: Modifier = Modifier, setting: StorageSetting, items: List, image: @Composable (() -> Unit)? = null, labelProvider: (item: T) -> String = { it.toString() } ) ```