Text tile button is a type of button component that displays text content in a tile format. It's typically used for displaying options, categories, or actions in a visually appealing tile layout.
fun TextTileButton(label: String, onSelectionChange: (Boolean) -> Unit, modifier: Modifier, secondaryLabel: String? = null, enabled: Boolean = true, selected: Boolean = false, icon: () -> Unit? = null)
label: String
The primary text to display on the button.
onSelectionChange: Function1
The callback to be invoked when the button is clicked.
modifier: Modifier
The Modifier to be applied to this button.
secondaryLabel: String?
The secondary text to display on the button.
enabled: Boolean
Whether this button is enabled or not.
selected: Boolean
Whether this button is selected or not.
icon: Function0?
The icon to be displayed in the button.