consumesKey method Null safety
- Intent intent
Indicates whether this action should treat key events mapped to this action as being "handled" when it is invoked via the key event.
If the key is handled, then no other key event handlers in the focus chain will receive the event.
If the key event is not handled, it will be passed back to the engine, and continue to be processed there, allowing text fields and non-Flutter widgets to receive the key event.
The default implementation returns true.
@override bool consumesKey(Intent intent) => _consumesKey;