keyReleased method Null safety
When the button is released with an accelerator key
Implementation
void keyReleased() {
setState(() {
_pressed = false;
_pressedFromKeyboard = false;
});
factory.controller.buttonUp();
}
When the button is released with an accelerator key
void keyReleased() {
setState(() {
_pressed = false;
_pressedFromKeyboard = false;
});
factory.controller.buttonUp();
}