hover method
      
void
hover()
      
     
    
Sets the hover state for this component.
Sets isHovered to true and calls onHover. Only effective if
isHoverable returns true.
Implementation
void hover() {
  isHovered = true;
  onHover();
}