Package-level declarations

Types

Link copied to clipboard

Enum class representing the size of a ContentSwitcher.

Enum class representing the size of a ContentSwitcher.

Enum class representing the size of a ContentSwitcher.

Enum class representing the size of a ContentSwitcher.

Enum class representing the size of a ContentSwitcher.

Functions

Link copied to clipboard
fun ContentSwitcher(options: List<String>, selectedOption: String, onOptionSelected: (String) -> Unit, modifier: Modifier = Modifier, size: ContentSwitcherSize = ContentSwitcherSize.Medium, isEnabled: Boolean = true)

Content switchers allow users to toggle between two or more content sections within the same space on the screen.

Link copied to clipboard
fun IconContentSwitcher(options: List<Painter>, selectedOption: Painter, onOptionSelected: (Painter) -> Unit, modifier: Modifier = Modifier, size: ContentSwitcherSize = ContentSwitcherSize.Medium, isEnabled: Boolean = true, optionsContentDescriptions: Map<Painter, String?> = emptyMap())

Content switchers allow users to toggle between two or more content sections within the same space on the screen.