kWebNumPadMap top-level constant

const kWebNumPadMap = <String, LogicalKeyboardKey>{'NumpadDivide' : LogicalKeyboardKey.numpadDivide, 'NumpadMultiply' : LogicalKeyboardKey.numpadMultiply, 'NumpadSubtract' : LogicalKeyboardKey.numpadSubtract, 'NumpadAdd' : LogicalKeyboardKey.numpadAdd, '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, 'Numpad0' : LogicalKeyboardKey.numpad0, 'NumpadDecimal' : LogicalKeyboardKey.numpadDecimal, 'NumpadEqual' : LogicalKeyboardKey.numpadEqual, 'NumpadComma' : LogicalKeyboardKey.numpadComma, 'NumpadParenLeft' : LogicalKeyboardKey.numpadParenLeft, 'NumpadParenRight' : LogicalKeyboardKey.numpadParenRight}

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>{
  'NumpadDivide': LogicalKeyboardKey.numpadDivide,
  'NumpadMultiply': LogicalKeyboardKey.numpadMultiply,
  'NumpadSubtract': LogicalKeyboardKey.numpadSubtract,
  'NumpadAdd': LogicalKeyboardKey.numpadAdd,
  '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,
  'Numpad0': LogicalKeyboardKey.numpad0,
  'NumpadDecimal': LogicalKeyboardKey.numpadDecimal,
  'NumpadEqual': LogicalKeyboardKey.numpadEqual,
  'NumpadComma': LogicalKeyboardKey.numpadComma,
  'NumpadParenLeft': LogicalKeyboardKey.numpadParenLeft,
  'NumpadParenRight': LogicalKeyboardKey.numpadParenRight,
}