onExit method

void onExit(
  1. PointerExitEvent e,
  2. BoxConstraints constraints
)

Implementation

void onExit(PointerExitEvent e, BoxConstraints constraints) {
  setState(() {
    hover = false;
    slider = 0.0;
  });
}