DomposableSegmentedButtonsProps
data class DomposableSegmentedButtonsProps(val labels: List<String>, val selectedIndex: Int, val onSelect: (Int) -> Unit, val label: String, val enabled: Boolean = true, val optionEnabled: List<Boolean> = labels.map { true }, val optionTestTags: List<String?> = labels.map { null }, val groupName: String? = null, val showSelectedIcon: Boolean = true, val allowReselect: Boolean = true, val appearance: DomposableItemAppearance? = null, val equalWidth: Boolean = false, val selectedIcon: @Composable () -> Unit? = null)
Constructors
Link copied to clipboard
constructor(labels: List<String>, selectedIndex: Int, onSelect: (Int) -> Unit, label: String, enabled: Boolean = true, optionEnabled: List<Boolean> = labels.map { true }, optionTestTags: List<String?> = labels.map { null }, groupName: String? = null, showSelectedIcon: Boolean = true, allowReselect: Boolean = true, appearance: DomposableItemAppearance? = null, equalWidth: Boolean = false, selectedIcon: @Composable () -> Unit? = null)