PushButton
constructor(text: String = "", icon: Icon<Button>? = null, model: ButtonModel = ButtonModelImpl())(source)
Creates a button.
Parameters
text
displayed on the button
icon
displayed on the button
model
used to store the button's state
protected constructor(text: String = "", icon: Icon<Button>? = null, model: ButtonModel = ButtonModelImpl(), role: ButtonRole)(source)