acceptedKeys property

List<LogicalKeyboardKey>? acceptedKeys
final

You can pass specific Keys accepted. If null accept all keys

Implementation

final List<LogicalKeyboardKey>? acceptedKeys;