kWebToLogicalKey top-level constant Null safety
Maps Web KeyboardEvent codes to the matching LogicalKeyboardKey
.
Implementation
const Map<String, LogicalKeyboardKey> kWebToLogicalKey = <String, LogicalKeyboardKey>{
'AVRInput': LogicalKeyboardKey.avrInput,
'AVRPower': LogicalKeyboardKey.avrPower,
'Accel': LogicalKeyboardKey.accel,
'Accept': LogicalKeyboardKey.accept,
'Again': LogicalKeyboardKey.again,
'AllCandidates': LogicalKeyboardKey.allCandidates,
'Alphanumeric': LogicalKeyboardKey.alphanumeric,
'AltGraph': LogicalKeyboardKey.altGraph,
'AppSwitch': LogicalKeyboardKey.appSwitch,
'ArrowDown': LogicalKeyboardKey.arrowDown,
'ArrowLeft': LogicalKeyboardKey.arrowLeft,
'ArrowRight': LogicalKeyboardKey.arrowRight,
'ArrowUp': LogicalKeyboardKey.arrowUp,
'Attn': LogicalKeyboardKey.attn,
'AudioBalanceLeft': LogicalKeyboardKey.audioBalanceLeft,
'AudioBalanceRight': LogicalKeyboardKey.audioBalanceRight,
'AudioBassBoostDown': LogicalKeyboardKey.audioBassBoostDown,
'AudioBassBoostToggle': LogicalKeyboardKey.audioBassBoostToggle,
'AudioBassBoostUp': LogicalKeyboardKey.audioBassBoostUp,
'AudioFaderFront': LogicalKeyboardKey.audioFaderFront,
'AudioFaderRear': LogicalKeyboardKey.audioFaderRear,
'AudioSurroundModeNext': LogicalKeyboardKey.audioSurroundModeNext,
'AudioTrebleDown': LogicalKeyboardKey.audioTrebleDown,
'AudioTrebleUp': LogicalKeyboardKey.audioTrebleUp,
'AudioVolumeDown': LogicalKeyboardKey.audioVolumeDown,
'AudioVolumeMute': LogicalKeyboardKey.audioVolumeMute,
'AudioVolumeUp': LogicalKeyboardKey.audioVolumeUp,
'Backspace': LogicalKeyboardKey.backspace,
'BrightnessDown': LogicalKeyboardKey.brightnessDown,
'BrightnessUp': LogicalKeyboardKey.brightnessUp,
'BrowserBack': LogicalKeyboardKey.browserBack,
'BrowserFavorites': LogicalKeyboardKey.browserFavorites,
'BrowserForward': LogicalKeyboardKey.browserForward,
'BrowserHome': LogicalKeyboardKey.browserHome,
'BrowserRefresh': LogicalKeyboardKey.browserRefresh,
'BrowserSearch': LogicalKeyboardKey.browserSearch,
'BrowserStop': LogicalKeyboardKey.browserStop,
'Call': LogicalKeyboardKey.call,
'Camera': LogicalKeyboardKey.camera,
'CameraFocus': LogicalKeyboardKey.cameraFocus,
'Cancel': LogicalKeyboardKey.cancel,
'CapsLock': LogicalKeyboardKey.capsLock,
'ChannelDown': LogicalKeyboardKey.channelDown,
'ChannelUp': LogicalKeyboardKey.channelUp,
'Clear': LogicalKeyboardKey.clear,
'Close': LogicalKeyboardKey.close,
'ClosedCaptionToggle': LogicalKeyboardKey.closedCaptionToggle,
'CodeInput': LogicalKeyboardKey.codeInput,
'ColorF0Red': LogicalKeyboardKey.colorF0Red,
'ColorF1Green': LogicalKeyboardKey.colorF1Green,
'ColorF2Yellow': LogicalKeyboardKey.colorF2Yellow,
'ColorF3Blue': LogicalKeyboardKey.colorF3Blue,
'ColorF4Grey': LogicalKeyboardKey.colorF4Grey,
'ColorF5Brown': LogicalKeyboardKey.colorF5Brown,
'Compose': LogicalKeyboardKey.compose,
'ContextMenu': LogicalKeyboardKey.contextMenu,
'Convert': LogicalKeyboardKey.convert,
'Copy': LogicalKeyboardKey.copy,
'CrSel': LogicalKeyboardKey.crSel,
'Cut': LogicalKeyboardKey.cut,
'DVR': LogicalKeyboardKey.dvr,
'Delete': LogicalKeyboardKey.delete,
'Dimmer': LogicalKeyboardKey.dimmer,
'DisplaySwap': LogicalKeyboardKey.displaySwap,
'Eisu': LogicalKeyboardKey.eisu,
'Eject': LogicalKeyboardKey.eject,
'End': LogicalKeyboardKey.end,
'EndCall': LogicalKeyboardKey.endCall,
'Enter': LogicalKeyboardKey.enter,
'EraseEof': LogicalKeyboardKey.eraseEof,
'Esc': LogicalKeyboardKey.escape,
'Escape': LogicalKeyboardKey.escape,
'ExSel': LogicalKeyboardKey.exSel,
'Execute': LogicalKeyboardKey.execute,
'Exit': LogicalKeyboardKey.exit,
'F1': LogicalKeyboardKey.f1,
'F10': LogicalKeyboardKey.f10,
'F11': LogicalKeyboardKey.f11,
'F12': LogicalKeyboardKey.f12,
'F13': LogicalKeyboardKey.f13,
'F14': LogicalKeyboardKey.f14,
'F15': LogicalKeyboardKey.f15,
'F16': LogicalKeyboardKey.f16,
'F17': LogicalKeyboardKey.f17,
'F18': LogicalKeyboardKey.f18,
'F19': LogicalKeyboardKey.f19,
'F2': LogicalKeyboardKey.f2,
'F20': LogicalKeyboardKey.f20,
'F21': LogicalKeyboardKey.f21,
'F22': LogicalKeyboardKey.f22,
'F23': LogicalKeyboardKey.f23,
'F24': LogicalKeyboardKey.f24,
'F3': LogicalKeyboardKey.f3,
'F4': LogicalKeyboardKey.f4,
'F5': LogicalKeyboardKey.f5,
'F6': LogicalKeyboardKey.f6,
'F7': LogicalKeyboardKey.f7,
'F8': LogicalKeyboardKey.f8,
'F9': LogicalKeyboardKey.f9,
'FavoriteClear0': LogicalKeyboardKey.favoriteClear0,
'FavoriteClear1': LogicalKeyboardKey.favoriteClear1,
'FavoriteClear2': LogicalKeyboardKey.favoriteClear2,
'FavoriteClear3': LogicalKeyboardKey.favoriteClear3,
'FavoriteRecall0': LogicalKeyboardKey.favoriteRecall0,
'FavoriteRecall1': LogicalKeyboardKey.favoriteRecall1,
'FavoriteRecall2': LogicalKeyboardKey.favoriteRecall2,
'FavoriteRecall3': LogicalKeyboardKey.favoriteRecall3,
'FavoriteStore0': LogicalKeyboardKey.favoriteStore0,
'FavoriteStore1': LogicalKeyboardKey.favoriteStore1,
'FavoriteStore2': LogicalKeyboardKey.favoriteStore2,
'FavoriteStore3': LogicalKeyboardKey.favoriteStore3,
'FinalMode': LogicalKeyboardKey.finalMode,
'Find': LogicalKeyboardKey.find,
'Fn': LogicalKeyboardKey.fn,
'FnLock': LogicalKeyboardKey.fnLock,
'GoBack': LogicalKeyboardKey.goBack,
'GoHome': LogicalKeyboardKey.goHome,
'GroupFirst': LogicalKeyboardKey.groupFirst,
'GroupLast': LogicalKeyboardKey.groupLast,
'GroupNext': LogicalKeyboardKey.groupNext,
'GroupPrevious': LogicalKeyboardKey.groupPrevious,
'Guide': LogicalKeyboardKey.guide,
'GuideNextDay': LogicalKeyboardKey.guideNextDay,
'GuidePreviousDay': LogicalKeyboardKey.guidePreviousDay,
'HangulMode': LogicalKeyboardKey.hangulMode,
'HanjaMode': LogicalKeyboardKey.hanjaMode,
'Hankaku': LogicalKeyboardKey.hankaku,
'HeadsetHook': LogicalKeyboardKey.headsetHook,
'Help': LogicalKeyboardKey.help,
'Hibernate': LogicalKeyboardKey.hibernate,
'Hiragana': LogicalKeyboardKey.hiragana,
'HiraganaKatakana': LogicalKeyboardKey.hiraganaKatakana,
'Home': LogicalKeyboardKey.home,
'Hyper': LogicalKeyboardKey.hyper,
'Info': LogicalKeyboardKey.info,
'Insert': LogicalKeyboardKey.insert,
'InstantReplay': LogicalKeyboardKey.instantReplay,
'JunjaMode': LogicalKeyboardKey.junjaMode,
'KanaMode': LogicalKeyboardKey.kanaMode,
'KanjiMode': LogicalKeyboardKey.kanjiMode,
'Katakana': LogicalKeyboardKey.katakana,
'Key11': LogicalKeyboardKey.key11,
'Key12': LogicalKeyboardKey.key12,
'LastNumberRedial': LogicalKeyboardKey.lastNumberRedial,
'LaunchApplication1': LogicalKeyboardKey.launchApplication1,
'LaunchApplication2': LogicalKeyboardKey.launchApplication2,
'LaunchAssistant': LogicalKeyboardKey.launchAssistant,
'LaunchCalendar': LogicalKeyboardKey.launchCalendar,
'LaunchContacts': LogicalKeyboardKey.launchContacts,
'LaunchControlPanel': LogicalKeyboardKey.launchControlPanel,
'LaunchMail': LogicalKeyboardKey.launchMail,
'LaunchMediaPlayer': LogicalKeyboardKey.launchMediaPlayer,
'LaunchMusicPlayer': LogicalKeyboardKey.launchMusicPlayer,
'LaunchPhone': LogicalKeyboardKey.launchPhone,
'LaunchScreenSaver': LogicalKeyboardKey.launchScreenSaver,
'LaunchSpreadsheet': LogicalKeyboardKey.launchSpreadsheet,
'LaunchWebBrowser': LogicalKeyboardKey.launchWebBrowser,
'LaunchWebCam': LogicalKeyboardKey.launchWebCam,
'LaunchWordProcessor': LogicalKeyboardKey.launchWordProcessor,
'Link': LogicalKeyboardKey.link,
'ListProgram': LogicalKeyboardKey.listProgram,
'LiveContent': LogicalKeyboardKey.liveContent,
'Lock': LogicalKeyboardKey.lock,
'LogOff': LogicalKeyboardKey.logOff,
'MailForward': LogicalKeyboardKey.mailForward,
'MailReply': LogicalKeyboardKey.mailReply,
'MailSend': LogicalKeyboardKey.mailSend,
'MannerMode': LogicalKeyboardKey.mannerMode,
'MediaApps': LogicalKeyboardKey.mediaApps,
'MediaAudioTrack': LogicalKeyboardKey.mediaAudioTrack,
'MediaClose': LogicalKeyboardKey.mediaClose,
'MediaFastForward': LogicalKeyboardKey.mediaFastForward,
'MediaLast': LogicalKeyboardKey.mediaLast,
'MediaPause': LogicalKeyboardKey.mediaPause,
'MediaPlay': LogicalKeyboardKey.mediaPlay,
'MediaPlayPause': LogicalKeyboardKey.mediaPlayPause,
'MediaRecord': LogicalKeyboardKey.mediaRecord,
'MediaRewind': LogicalKeyboardKey.mediaRewind,
'MediaSkip': LogicalKeyboardKey.mediaSkip,
'MediaSkipBackward': LogicalKeyboardKey.mediaSkipBackward,
'MediaSkipForward': LogicalKeyboardKey.mediaSkipForward,
'MediaStepBackward': LogicalKeyboardKey.mediaStepBackward,
'MediaStepForward': LogicalKeyboardKey.mediaStepForward,
'MediaStop': LogicalKeyboardKey.mediaStop,
'MediaTopMenu': LogicalKeyboardKey.mediaTopMenu,
'MediaTrackNext': LogicalKeyboardKey.mediaTrackNext,
'MediaTrackPrevious': LogicalKeyboardKey.mediaTrackPrevious,
'MicrophoneToggle': LogicalKeyboardKey.microphoneToggle,
'MicrophoneVolumeDown': LogicalKeyboardKey.microphoneVolumeDown,
'MicrophoneVolumeMute': LogicalKeyboardKey.microphoneVolumeMute,
'MicrophoneVolumeUp': LogicalKeyboardKey.microphoneVolumeUp,
'ModeChange': LogicalKeyboardKey.modeChange,
'NavigateIn': LogicalKeyboardKey.navigateIn,
'NavigateNext': LogicalKeyboardKey.navigateNext,
'NavigateOut': LogicalKeyboardKey.navigateOut,
'NavigatePrevious': LogicalKeyboardKey.navigatePrevious,
'New': LogicalKeyboardKey.newKey,
'NextCandidate': LogicalKeyboardKey.nextCandidate,
'NextFavoriteChannel': LogicalKeyboardKey.nextFavoriteChannel,
'NextUserProfile': LogicalKeyboardKey.nextUserProfile,
'NonConvert': LogicalKeyboardKey.nonConvert,
'Notification': LogicalKeyboardKey.notification,
'NumLock': LogicalKeyboardKey.numLock,
'OnDemand': LogicalKeyboardKey.onDemand,
'Open': LogicalKeyboardKey.open,
'PageDown': LogicalKeyboardKey.pageDown,
'PageUp': LogicalKeyboardKey.pageUp,
'Pairing': LogicalKeyboardKey.pairing,
'Paste': LogicalKeyboardKey.paste,
'Pause': LogicalKeyboardKey.pause,
'PinPDown': LogicalKeyboardKey.pInPDown,
'PinPMove': LogicalKeyboardKey.pInPMove,
'PinPToggle': LogicalKeyboardKey.pInPToggle,
'PinPUp': LogicalKeyboardKey.pInPUp,
'Play': LogicalKeyboardKey.play,
'PlaySpeedDown': LogicalKeyboardKey.playSpeedDown,
'PlaySpeedReset': LogicalKeyboardKey.playSpeedReset,
'PlaySpeedUp': LogicalKeyboardKey.playSpeedUp,
'Power': LogicalKeyboardKey.power,
'PowerOff': LogicalKeyboardKey.powerOff,
'PreviousCandidate': LogicalKeyboardKey.previousCandidate,
'Print': LogicalKeyboardKey.print,
'PrintScreen': LogicalKeyboardKey.printScreen,
'Process': LogicalKeyboardKey.process,
'Props': LogicalKeyboardKey.props,
'RandomToggle': LogicalKeyboardKey.randomToggle,
'RcLowBattery': LogicalKeyboardKey.rcLowBattery,
'RecordSpeedNext': LogicalKeyboardKey.recordSpeedNext,
'Redo': LogicalKeyboardKey.redo,
'RfBypass': LogicalKeyboardKey.rfBypass,
'Romaji': LogicalKeyboardKey.romaji,
'STBInput': LogicalKeyboardKey.stbInput,
'STBPower': LogicalKeyboardKey.stbPower,
'Save': LogicalKeyboardKey.save,
'ScanChannelsToggle': LogicalKeyboardKey.scanChannelsToggle,
'ScreenModeNext': LogicalKeyboardKey.screenModeNext,
'ScrollLock': LogicalKeyboardKey.scrollLock,
'Select': LogicalKeyboardKey.select,
'Settings': LogicalKeyboardKey.settings,
'ShiftLevel5': LogicalKeyboardKey.shiftLevel5,
'SingleCandidate': LogicalKeyboardKey.singleCandidate,
'Soft1': LogicalKeyboardKey.soft1,
'Soft2': LogicalKeyboardKey.soft2,
'Soft3': LogicalKeyboardKey.soft3,
'Soft4': LogicalKeyboardKey.soft4,
'Soft5': LogicalKeyboardKey.soft5,
'Soft6': LogicalKeyboardKey.soft6,
'Soft7': LogicalKeyboardKey.soft7,
'Soft8': LogicalKeyboardKey.soft8,
'SpeechCorrectionList': LogicalKeyboardKey.speechCorrectionList,
'SpeechInputToggle': LogicalKeyboardKey.speechInputToggle,
'SpellCheck': LogicalKeyboardKey.spellCheck,
'SplitScreenToggle': LogicalKeyboardKey.splitScreenToggle,
'Standby': LogicalKeyboardKey.standby,
'Subtitle': LogicalKeyboardKey.subtitle,
'Super': LogicalKeyboardKey.superKey,
'Symbol': LogicalKeyboardKey.symbol,
'SymbolLock': LogicalKeyboardKey.symbolLock,
'TV': LogicalKeyboardKey.tv,
'TV3DMode': LogicalKeyboardKey.tv3DMode,
'TVAntennaCable': LogicalKeyboardKey.tvAntennaCable,
'TVAudioDescription': LogicalKeyboardKey.tvAudioDescription,
'TVAudioDescriptionMixDown': LogicalKeyboardKey.tvAudioDescriptionMixDown,
'TVAudioDescriptionMixUp': LogicalKeyboardKey.tvAudioDescriptionMixUp,
'TVContentsMenu': LogicalKeyboardKey.tvContentsMenu,
'TVDataService': LogicalKeyboardKey.tvDataService,
'TVInput': LogicalKeyboardKey.tvInput,
'TVInputComponent1': LogicalKeyboardKey.tvInputComponent1,
'TVInputComponent2': LogicalKeyboardKey.tvInputComponent2,
'TVInputComposite1': LogicalKeyboardKey.tvInputComposite1,
'TVInputComposite2': LogicalKeyboardKey.tvInputComposite2,
'TVInputHDMI1': LogicalKeyboardKey.tvInputHDMI1,
'TVInputHDMI2': LogicalKeyboardKey.tvInputHDMI2,
'TVInputHDMI3': LogicalKeyboardKey.tvInputHDMI3,
'TVInputHDMI4': LogicalKeyboardKey.tvInputHDMI4,
'TVInputVGA1': LogicalKeyboardKey.tvInputVGA1,
'TVMediaContext': LogicalKeyboardKey.tvMediaContext,
'TVNetwork': LogicalKeyboardKey.tvNetwork,
'TVNumberEntry': LogicalKeyboardKey.tvNumberEntry,
'TVPower': LogicalKeyboardKey.tvPower,
'TVRadioService': LogicalKeyboardKey.tvRadioService,
'TVSatellite': LogicalKeyboardKey.tvSatellite,
'TVSatelliteBS': LogicalKeyboardKey.tvSatelliteBS,
'TVSatelliteCS': LogicalKeyboardKey.tvSatelliteCS,
'TVSatelliteToggle': LogicalKeyboardKey.tvSatelliteToggle,
'TVTerrestrialAnalog': LogicalKeyboardKey.tvTerrestrialAnalog,
'TVTerrestrialDigital': LogicalKeyboardKey.tvTerrestrialDigital,
'TVTimer': LogicalKeyboardKey.tvTimer,
'Tab': LogicalKeyboardKey.tab,
'Teletext': LogicalKeyboardKey.teletext,
'Undo': LogicalKeyboardKey.undo,
'Unidentified': LogicalKeyboardKey.unidentified,
'VideoModeNext': LogicalKeyboardKey.videoModeNext,
'VoiceDial': LogicalKeyboardKey.voiceDial,
'WakeUp': LogicalKeyboardKey.wakeUp,
'Wink': LogicalKeyboardKey.wink,
'Zenkaku': LogicalKeyboardKey.zenkaku,
'ZenkakuHankaku': LogicalKeyboardKey.zenkakuHankaku,
'ZoomIn': LogicalKeyboardKey.zoomIn,
'ZoomOut': LogicalKeyboardKey.zoomOut,
'ZoomToggle': LogicalKeyboardKey.zoomToggle,
};