handleClick method

void handleClick(
  1. UIEvent event
)

Implementation

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