update method
Updates the attributes of the button. If some of the arguments are omitted
or null
, the corresponding attributes are not updated.
iconPath
Path to the new icon of the button.
tooltipText
Text shown as a tooltip when user hovers the mouse over
the button.
disabled
Whether the button is disabled.
Implementation
void update(
String? iconPath,
String? tooltipText,
bool? disabled,
) {
_wrapped.update(
iconPath,
tooltipText,
disabled,
);
}