Button Model
data class ButtonModel @JvmOverloads constructor(val text: String? = null, val clickListener: AppBarModel.OnClickListener? = null, val contentDescription: String? = null)
Data class for button properties of an AppBar suggestion.
Parameters
text
The text to be displayed on the button.
click Listener
The listener to be invoked when the button is clicked.
content Description
The content description for the button, used for accessibility.
Constructors
Link copied to clipboard
constructor(text: String? = null, clickListener: AppBarModel.OnClickListener? = null, contentDescription: String? = null)