ButtonModel

constructor(text: String? = null, clickListener: AppBarModel.OnClickListener? = null, contentDescription: String? = null)

Parameters

text

The text to be displayed on the button.

clickListener

The listener to be invoked when the button is clicked.

contentDescription

The content description for the button, used for accessibility.