pressed method Null safety

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

What to do when the key is pressed.

Implementation

@override
void pressed(LimitedState s) => (s as ActiveState).handleNumberKey(value);