pressed method Null safety

  1. @override
void pressed(
  1. LimitedState arg
)
override

What to do when the key is pressed.

Implementation

@override
void pressed(LimitedState arg) => _pressed(arg);