ToggleOption

data class ToggleOption(@StringRes val text: Int, val icon: ImageVector)

A data class representing a toggle option.

Parameters

text

The text to display for the option.

icon

The icon to display for the option.

Constructors

Link copied to clipboard
constructor(@StringRes text: Int, icon: ImageVector)

Properties

Link copied to clipboard
Link copied to clipboard
val text: Int