Package-level declarations

Types

Link copied to clipboard
data class FormCheckbox(val label: String, val checked: Boolean, val onCheckedChange: (Boolean) -> Unit, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
data class FormCustom(val content: @Composable (FormConfig, Boolean) -> Unit, val visible: Boolean = true, val enabled: Boolean = true) : FormItem
Link copied to clipboard
data class FormCustomLabeled(val label: String, val content: @Composable (FormConfig, Boolean) -> Unit, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
data class FormDivider(val text: String? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem
Link copied to clipboard
data class FormDropdown<T : Any>(val label: String, val items: List<T>, val mapper: @Composable (T) -> String, val selected: T, val onSelectionChange: (T) -> Unit, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
data class FormDropdownIndex(val label: String, val items: List<String>, val selectedIndex: Int, val onSelectionChange: (Int) -> Unit, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
data class FormHelp(val text: AnnotatedString, val title: String? = null)
Link copied to clipboard
data class FormInfo(val label: String, val info: String, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
data class FormInput(val label: String, val value: String, val onValueChange: (value: String) -> Unit, val minLines: Int = 1, val maxLines: Int = 1, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
sealed interface FormItem
Link copied to clipboard
data class FormMultiDropdown(val label: String, val items: List<String>, val selected: List<String>, val onSelectionChange: (List<String>) -> Unit, val sortSelectionByItems: Boolean = true, val formatter: @Composable (selected: List<String>) -> String = FormDefaults.multiDropdownFormatter, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
data class FormMultiDropdownIndex(val label: String, val items: List<String>, val selectedIndices: List<Int>, val onSelectionChange: (List<Int>) -> Unit, val sortSelectionByItems: Boolean = true, val formatter: @Composable (selected: List<String>) -> String = FormDefaults.multiDropdownFormatter, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true) : FormItem.Labeled
Link copied to clipboard
data class FormPicker(val label: String, val text: String, val icon: IconComposable, val subLabel: String? = null, val help: FormHelp? = null, val visible: Boolean = true, val enabled: Boolean = true, val onClick: () -> Unit) : FormItem.Labeled
Link copied to clipboard
data class FormSection(val title: String, val visible: Boolean = true) : FormItem