keyPressed method Null safety
When the button is "pressed" with an accelerator key
Implementation
void keyPressed() {
setState(() {
_pressed = true;
_pressedFromKeyboard = true;
});
factory.controller.buttonWidgetDown(widget);
}
When the button is "pressed" with an accelerator key
void keyPressed() {
setState(() {
_pressed = true;
_pressedFromKeyboard = true;
});
factory.controller.buttonWidgetDown(widget);
}