Package-level declarations
Types
Link copied to clipboard
Configuration for category display.
Link copied to clipboard
data class CustomTypeHandler<T>(val typeClass: KClass<*>, val render: @Composable (field: SettingField<T, *>, meta: SettingMeta, value: T, enabled: Boolean, onSet: (name: String, value: Any) -> Unit) -> Unit)
Configuration for custom setting type rendering.
Functions
Link copied to clipboard
fun <T> AutoSettingsScreen(schema: SettingsSchema<T>, value: T, onSet: (name: String, value: Any) -> Unit, onAction: suspend (KClass<out SettingAction>) -> Unit = {}, modifier: Modifier = Modifier, platform: SettingPlatform = currentPlatform, categoryConfigs: List<CategoryConfig> = emptyList(), customTypeHandlers: List<CustomTypeHandler<T>> = emptyList(), snackbarHostState: SnackbarHostState? = null)
Auto-generated settings screen from schema.
Link copied to clipboard
Provide string resources to settings UI.
Link copied to clipboard