handleExit method

void handleExit(
  1. bool hovering
)

To handle act when mouse exit the Airoll region

Implementation

void handleExit(bool hovering) {
  setState(() {
    _isHovering = hovering;
  });
  if (_isHovering == false) {
    Navigator.pop(context);
  }
}