kGtkNumpadMap top-level constant Null safety

Map<int, LogicalKeyboardKey> const kGtkNumpadMap

A map of GTK key 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> kGtkNumpadMap = <int, LogicalKeyboardKey>{
  65429: LogicalKeyboardKey.numpad7,
  65430: LogicalKeyboardKey.numpad4,
  65431: LogicalKeyboardKey.numpad8,
  65432: LogicalKeyboardKey.numpad6,
  65433: LogicalKeyboardKey.numpad2,
  65434: LogicalKeyboardKey.numpad9,
  65435: LogicalKeyboardKey.numpad3,
  65436: LogicalKeyboardKey.numpad1,
  65438: LogicalKeyboardKey.numpad0,
  65439: LogicalKeyboardKey.numpadDecimal,
  65450: LogicalKeyboardKey.numpadMultiply,
  65451: LogicalKeyboardKey.numpadAdd,
  65453: LogicalKeyboardKey.numpadSubtract,
  65455: LogicalKeyboardKey.numpadDivide,
  65456: LogicalKeyboardKey.numpad0,
  65457: LogicalKeyboardKey.numpad1,
  65458: LogicalKeyboardKey.numpad2,
  65459: LogicalKeyboardKey.numpad3,
  65460: LogicalKeyboardKey.numpad4,
  65461: LogicalKeyboardKey.numpad5,
  65462: LogicalKeyboardKey.numpad6,
  65463: LogicalKeyboardKey.numpad7,
  65464: LogicalKeyboardKey.numpad8,
  65465: LogicalKeyboardKey.numpad9,
  65469: LogicalKeyboardKey.numpadEqual,
};