VIRTUAL_KEY extension type enum

on
Implemented types

Constructors

VIRTUAL_KEY(int _)
const

Properties

bitLength int
Returns the minimum number of bits required to store this integer.
no setterinherited
hashCode int
Returns a hash code for a numerical value.
no setterinherited
isEven bool
Returns true if and only if this integer is even.
no setterinherited
isFinite bool
Whether this number is finite.
no setterinherited
isInfinite bool
Whether this number is positive infinity or negative infinity.
no setterinherited
isNaN bool
Whether this number is a Not-a-Number value.
no setterinherited
isNegative bool
Whether this number is negative.
no setterinherited
isOdd bool
Returns true if and only if this integer is odd.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign int
Returns the sign of this integer.
no setterinherited

Methods

abs() int
Returns the absolute value of this integer.
inherited
ceil() int
Returns this.
inherited
ceilToDouble() double
Returns this.toDouble().
inherited
clamp(num lowerLimit, num upperLimit) num
Returns this num clamped to be in the range lowerLimit-upperLimit.
inherited
compareTo(num other) int
Compares this to other.
inherited
floor() int
Returns this.
inherited
floorToDouble() double
Returns this.toDouble().
inherited
gcd(int other) int
Returns the greatest common divisor of this integer and other.
inherited
modInverse(int modulus) int
Returns the modular multiplicative inverse of this integer modulo modulus.
inherited
modPow(int exponent, int modulus) int
Returns this integer to the power of exponent modulo modulus.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remainder(num other) num
The remainder of the truncating division of this by other.
inherited
round() int
Returns this.
inherited
roundToDouble() double
Returns this.toDouble().
inherited
toDouble() double
This number as a double.
inherited
toInt() int
Truncates this num to an integer and returns the result as an int.
inherited
toRadixString(int radix) String
Converts this to a string representation in the given radix.
inherited
toSigned(int width) int
Returns the least significant width bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit in width bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher than width.
inherited
toString() String
Returns a string representation of this integer.
inherited
toStringAsExponential([int? fractionDigits]) String
An exponential string-representation of this number.
inherited
toStringAsFixed(int fractionDigits) String
A decimal-point string-representation of this number.
inherited
toStringAsPrecision(int precision) String
A string representation with precision significant digits.
inherited
toUnsigned(int width) int
Returns the least significant width bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher than width.
inherited
truncate() int
Returns this.
inherited
truncateToDouble() double
Returns this.toDouble().
inherited

Operators

operator %(num other) num
Euclidean modulo of this number by other.
inherited
operator &(int other) int
Bit-wise and operator.
inherited
operator *(num other) num
Multiplies this number by other.
inherited
operator +(num other) num
Adds other to this number.
inherited
operator -(num other) num
Subtracts other from this number.
inherited
operator /(num other) double
Divides this number by other.
inherited
operator <(num other) bool
Whether this number is numerically smaller than other.
inherited
operator <<(int shiftAmount) int
Shift the bits of this integer to the left by shiftAmount.
inherited
operator <=(num other) bool
Whether this number is numerically smaller than or equal to other.
inherited
operator ==(Object other) bool
Test whether this value is numerically equal to other.
inherited
operator >(num other) bool
Whether this number is numerically greater than other.
inherited
operator >=(num other) bool
Whether this number is numerically greater than or equal to other.
inherited
operator >>(int shiftAmount) int
Shift the bits of this integer to the right by shiftAmount.
inherited
operator >>>(int shiftAmount) int
Bitwise unsigned right shift by shiftAmount bits.
inherited
operator ^(int other) int
Bit-wise exclusive-or operator.
inherited
operator unary-() int
Return the negative value of this integer.
inherited
operator |(int other) int
Bit-wise or operator.
inherited
operator ~() int
The bit-wise negate operator.
inherited
operator ~/(num other) int
Truncating division operator.
inherited

Constants

VK_0 → const int
VK_1 → const int
VK_2 → const int
VK_3 → const int
VK_4 → const int
VK_5 → const int
VK_6 → const int
VK_7 → const int
VK_8 → const int
VK_9 → const int
VK__none_ → const int
VK_A → const int
VK_ABNT_C1 → const int
VK_ABNT_C2 → const int
VK_ACCEPT → const int
VK_ADD → const int
VK_APPS → const int
VK_ATTN → const int
VK_B → const int
VK_BACK → const int
VK_BROWSER_BACK → const int
VK_BROWSER_FAVORITES → const int
VK_BROWSER_FORWARD → const int
VK_BROWSER_HOME → const int
VK_BROWSER_REFRESH → const int
VK_BROWSER_STOP → const int
VK_C → const int
VK_CANCEL → const int
VK_CAPITAL → const int
VK_CLEAR → const int
VK_CONTROL → const int
VK_CONVERT → const int
VK_CRSEL → const int
VK_D → const int
VK_DBE_ALPHANUMERIC → const int
VK_DBE_CODEINPUT → const int
VK_DBE_DBCSCHAR → const int
VK_DBE_DETERMINESTRING → const int
VK_DBE_ENTERDLGCONVERSIONMODE → const int
VK_DBE_ENTERIMECONFIGMODE → const int
VK_DBE_ENTERWORDREGISTERMODE → const int
VK_DBE_FLUSHSTRING → const int
VK_DBE_HIRAGANA → const int
VK_DBE_KATAKANA → const int
VK_DBE_NOCODEINPUT → const int
VK_DBE_NOROMAN → const int
VK_DBE_ROMAN → const int
VK_DBE_SBCSCHAR → const int
VK_DECIMAL → const int
VK_DELETE → const int
VK_DIVIDE → const int
VK_DOWN → const int
VK_E → const int
VK_END → const int
VK_EREOF → const int
VK_ESCAPE → const int
VK_EXECUTE → const int
VK_EXSEL → const int
VK_F → const int
VK_F1 → const int
VK_F2 → const int
VK_F3 → const int
VK_F4 → const int
VK_F5 → const int
VK_F6 → const int
VK_F7 → const int
VK_F8 → const int
VK_F9 → const int
VK_F10 → const int
VK_F11 → const int
VK_F12 → const int
VK_F13 → const int
VK_F14 → const int
VK_F15 → const int
VK_F16 → const int
VK_F17 → const int
VK_F18 → const int
VK_F19 → const int
VK_F20 → const int
VK_F21 → const int
VK_F22 → const int
VK_F23 → const int
VK_F24 → const int
VK_FINAL → const int
VK_G → const int
VK_GAMEPAD_A → const int
VK_GAMEPAD_B → const int
VK_GAMEPAD_DPAD_DOWN → const int
VK_GAMEPAD_DPAD_LEFT → const int
VK_GAMEPAD_DPAD_RIGHT → const int
VK_GAMEPAD_DPAD_UP → const int
VK_GAMEPAD_LEFT_SHOULDER → const int
VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON → const int
VK_GAMEPAD_LEFT_THUMBSTICK_DOWN → const int
VK_GAMEPAD_LEFT_THUMBSTICK_LEFT → const int
VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT → const int
VK_GAMEPAD_LEFT_THUMBSTICK_UP → const int
VK_GAMEPAD_LEFT_TRIGGER → const int
VK_GAMEPAD_MENU → const int
VK_GAMEPAD_RIGHT_SHOULDER → const int
VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON → const int
VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN → const int
VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT → const int
VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT → const int
VK_GAMEPAD_RIGHT_THUMBSTICK_UP → const int
VK_GAMEPAD_RIGHT_TRIGGER → const int
VK_GAMEPAD_VIEW → const int
VK_GAMEPAD_X → const int
VK_GAMEPAD_Y → const int
VK_H → const int
VK_HANGEUL → const int
VK_HANGUL → const int
VK_HANJA → const int
VK_HELP → const int
VK_HOME → const int
VK_I → const int
VK_ICO_00 → const int
VK_ICO_CLEAR → const int
VK_ICO_HELP → const int
VK_IME_OFF → const int
VK_IME_ON → const int
VK_INSERT → const int
VK_J → const int
VK_JUNJA → const int
VK_K → const int
VK_KANA → const int
VK_KANJI → const int
VK_L → const int
VK_LAUNCH_APP1 → const int
VK_LAUNCH_APP2 → const int
VK_LAUNCH_MAIL → const int
VK_LAUNCH_MEDIA_SELECT → const int
VK_LBUTTON → const int
VK_LCONTROL → const int
VK_LEFT → const int
VK_LMENU → const int
VK_LSHIFT → const int
VK_LWIN → const int
VK_M → const int
VK_MBUTTON → const int
VK_MEDIA_NEXT_TRACK → const int
VK_MEDIA_PLAY_PAUSE → const int
VK_MEDIA_PREV_TRACK → const int
VK_MEDIA_STOP → const int
VK_MENU → const int
VK_MODECHANGE → const int
VK_MULTIPLY → const int
VK_N → const int
VK_NAVIGATION_ACCEPT → const int
VK_NAVIGATION_CANCEL → const int
VK_NAVIGATION_DOWN → const int
VK_NAVIGATION_LEFT → const int
VK_NAVIGATION_MENU → const int
VK_NAVIGATION_RIGHT → const int
VK_NAVIGATION_UP → const int
VK_NAVIGATION_VIEW → const int
VK_NEXT → const int
VK_NONAME → const int
VK_NONCONVERT → const int
VK_NUMLOCK → const int
VK_NUMPAD0 → const int
VK_NUMPAD1 → const int
VK_NUMPAD2 → const int
VK_NUMPAD3 → const int
VK_NUMPAD4 → const int
VK_NUMPAD5 → const int
VK_NUMPAD6 → const int
VK_NUMPAD7 → const int
VK_NUMPAD8 → const int
VK_NUMPAD9 → const int
VK_O → const int
VK_OEM_1 → const int
VK_OEM_2 → const int
VK_OEM_3 → const int
VK_OEM_4 → const int
VK_OEM_5 → const int
VK_OEM_6 → const int
VK_OEM_7 → const int
VK_OEM_8 → const int
VK_OEM_102 → const int
VK_OEM_ATTN → const int
VK_OEM_AUTO → const int
VK_OEM_AX → const int
VK_OEM_BACKTAB → const int
VK_OEM_CLEAR → const int
VK_OEM_COMMA → const int
VK_OEM_COPY → const int
VK_OEM_CUSEL → const int
VK_OEM_ENLW → const int
VK_OEM_FINISH → const int
VK_OEM_FJ_JISHO → const int
VK_OEM_FJ_LOYA → const int
VK_OEM_FJ_MASSHOU → const int
VK_OEM_FJ_ROYA → const int
VK_OEM_FJ_TOUROKU → const int
VK_OEM_JUMP → const int
VK_OEM_MINUS → const int
VK_OEM_NEC_EQUAL → const int
VK_OEM_PA1 → const int
VK_OEM_PA2 → const int
VK_OEM_PA3 → const int
VK_OEM_PERIOD → const int
VK_OEM_PLUS → const int
VK_OEM_RESET → const int
VK_OEM_WSCTRL → const int
VK_P → const int
VK_PA1 → const int
VK_PACKET → const int
VK_PAUSE → const int
VK_PLAY → const int
VK_PRINT → const int
VK_PRIOR → const int
VK_PROCESSKEY → const int
VK_Q → const int
VK_R → const int
VK_RBUTTON → const int
VK_RCONTROL → const int
VK_RETURN → const int
VK_RIGHT → const int
VK_RMENU → const int
VK_RSHIFT → const int
VK_RWIN → const int
VK_S → const int
VK_SCROLL → const int
VK_SELECT → const int
VK_SEPARATOR → const int
VK_SHIFT → const int
VK_SLEEP → const int
VK_SNAPSHOT → const int
VK_SPACE → const int
VK_SUBTRACT → const int
VK_T → const int
VK_TAB → const int
VK_U → const int
VK_UP → const int
VK_V → const int
VK_VOLUME_DOWN → const int
VK_VOLUME_MUTE → const int
VK_VOLUME_UP → const int
VK_W → const int
VK_X → const int
VK_XBUTTON1 → const int
VK_XBUTTON2 → const int
VK_Y → const int
VK_Z → const int
VK_ZOOM → const int