kWebNumPadMap top-level constant

Map<String, LogicalKeyboardKey> const kWebNumPadMap

A map of Web 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<String, LogicalKeyboardKey> kWebNumPadMap = <String, LogicalKeyboardKey>{
  'Numpad0': LogicalKeyboardKey.numpad0,
  'Numpad1': LogicalKeyboardKey.numpad1,
  'Numpad2': LogicalKeyboardKey.numpad2,
  'Numpad3': LogicalKeyboardKey.numpad3,
  'Numpad4': LogicalKeyboardKey.numpad4,
  'Numpad5': LogicalKeyboardKey.numpad5,
  'Numpad6': LogicalKeyboardKey.numpad6,
  'Numpad7': LogicalKeyboardKey.numpad7,
  'Numpad8': LogicalKeyboardKey.numpad8,
  'Numpad9': LogicalKeyboardKey.numpad9,
  'NumpadAdd': LogicalKeyboardKey.numpadAdd,
  'NumpadComma': LogicalKeyboardKey.numpadComma,
  'NumpadDecimal': LogicalKeyboardKey.numpadDecimal,
  'NumpadDivide': LogicalKeyboardKey.numpadDivide,
  'NumpadEqual': LogicalKeyboardKey.numpadEqual,
  'NumpadMultiply': LogicalKeyboardKey.numpadMultiply,
  'NumpadParenLeft': LogicalKeyboardKey.numpadParenLeft,
  'NumpadParenRight': LogicalKeyboardKey.numpadParenRight,
  'NumpadSubtract': LogicalKeyboardKey.numpadSubtract,
};