kWindowsNumPadMap top-level constant Null safety

Map<int, LogicalKeyboardKey> const kWindowsNumPadMap

A map of Windows KeyboardEvent codes which have printable representations, but appear on the number pad. Used to provide different key objects for keys like KEY_EQUALS and NUMPAD_EQUALS.

Implementation

const Map<int, LogicalKeyboardKey> kWindowsNumPadMap = <int, LogicalKeyboardKey>{
  96: LogicalKeyboardKey.numpad0,
  97: LogicalKeyboardKey.numpad1,
  98: LogicalKeyboardKey.numpad2,
  99: LogicalKeyboardKey.numpad3,
  100: LogicalKeyboardKey.numpad4,
  101: LogicalKeyboardKey.numpad5,
  102: LogicalKeyboardKey.numpad6,
  103: LogicalKeyboardKey.numpad7,
  104: LogicalKeyboardKey.numpad8,
  105: LogicalKeyboardKey.numpad9,
  106: LogicalKeyboardKey.numpadMultiply,
  107: LogicalKeyboardKey.numpadAdd,
  108: LogicalKeyboardKey.numpadComma,
  109: LogicalKeyboardKey.numpadSubtract,
  110: LogicalKeyboardKey.numpadDecimal,
  111: LogicalKeyboardKey.numpadDivide,
  146: LogicalKeyboardKey.numpadEqual,
};