utils/keyboard/keyboard library

Functions

modifiersKeysFor(KeyboardEvent event, {bool shiftKey = false, bool ctrlKey = false, bool altKey = false, bool metaKey = false}) bool
this utility method will check that keyboard even is happening only with list of modifiers passed as true i.e. if called (modifiersKeysFor, shiftKey : true) it will return true if shift is pressed, but false if both shift and alt are pressed