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>{
  65455: LogicalKeyboardKey.numpadDivide,
  65450: LogicalKeyboardKey.numpadMultiply,
  65453: LogicalKeyboardKey.numpadSubtract,
  65451: LogicalKeyboardKey.numpadAdd,
  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,
  65456: LogicalKeyboardKey.numpad0,
  65454: LogicalKeyboardKey.numpadDecimal,
  65469: LogicalKeyboardKey.numpadEqual,
}