Text
data class Text(val label: String, val enabled: Boolean, val interactionSource: MutableInteractionSource? = null) : ToggleItem
Data class for ToggleItem.Text content.
Properties
Link copied to clipboard
boolean state determining if the ToggleItem.Text is enabled.
Link copied to clipboard
MutableInteractionSource representing the stream of Interactions for this component.
Link copied to clipboard
text label for the ToggleItem.Text.