handleClick method
Implementation
void handleClick(UIEvent event) {
// Ignore keyboard events caught by button decorator.
if (event is! MouseEvent) return;
if (!disabled) toggle();
}
void handleClick(UIEvent event) {
// Ignore keyboard events caught by button decorator.
if (event is! MouseEvent) return;
if (!disabled) toggle();
}