SYSTEM_METRICS_INDEX extension type enum

on
Implemented types

Constructors

SYSTEM_METRICS_INDEX(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

SM_ARRANGE → const int
SM_CLEANBOOT → const int
SM_CMONITORS → const int
SM_CMOUSEBUTTONS → const int
SM_CONVERTIBLESLATEMODE → const int
SM_CXBORDER → const int
SM_CXCURSOR → const int
SM_CXDLGFRAME → const int
SM_CXDOUBLECLK → const int
SM_CXDRAG → const int
SM_CXEDGE → const int
SM_CXFIXEDFRAME → const int
SM_CXFOCUSBORDER → const int
SM_CXFRAME → const int
SM_CXFULLSCREEN → const int
SM_CXHSCROLL → const int
SM_CXHTHUMB → const int
SM_CXICON → const int
SM_CXICONSPACING → const int
SM_CXMAXIMIZED → const int
SM_CXMAXTRACK → const int
SM_CXMENUCHECK → const int
SM_CXMENUSIZE → const int
SM_CXMIN → const int
SM_CXMINIMIZED → const int
SM_CXMINSPACING → const int
SM_CXMINTRACK → const int
SM_CXPADDEDBORDER → const int
SM_CXSCREEN → const int
SM_CXSIZE → const int
SM_CXSIZEFRAME → const int
SM_CXSMICON → const int
SM_CXSMSIZE → const int
SM_CXVIRTUALSCREEN → const int
SM_CXVSCROLL → const int
SM_CYBORDER → const int
SM_CYCAPTION → const int
SM_CYCURSOR → const int
SM_CYDLGFRAME → const int
SM_CYDOUBLECLK → const int
SM_CYDRAG → const int
SM_CYEDGE → const int
SM_CYFIXEDFRAME → const int
SM_CYFOCUSBORDER → const int
SM_CYFRAME → const int
SM_CYFULLSCREEN → const int
SM_CYHSCROLL → const int
SM_CYICON → const int
SM_CYICONSPACING → const int
SM_CYKANJIWINDOW → const int
SM_CYMAXIMIZED → const int
SM_CYMAXTRACK → const int
SM_CYMENU → const int
SM_CYMENUCHECK → const int
SM_CYMENUSIZE → const int
SM_CYMIN → const int
SM_CYMINIMIZED → const int
SM_CYMINSPACING → const int
SM_CYMINTRACK → const int
SM_CYSCREEN → const int
SM_CYSIZE → const int
SM_CYSIZEFRAME → const int
SM_CYSMCAPTION → const int
SM_CYSMICON → const int
SM_CYSMSIZE → const int
SM_CYVIRTUALSCREEN → const int
SM_CYVSCROLL → const int
SM_CYVTHUMB → const int
SM_DBCSENABLED → const int
SM_DEBUG → const int
SM_DIGITIZER → const int
SM_IMMENABLED → const int
SM_MAXIMUMTOUCHES → const int
SM_MEDIACENTER → const int
SM_MENUDROPALIGNMENT → const int
SM_MIDEASTENABLED → const int
SM_MOUSEHORIZONTALWHEELPRESENT → const int
SM_MOUSEPRESENT → const int
SM_MOUSEWHEELPRESENT → const int
SM_NETWORK → const int
SM_PENWINDOWS → const int
SM_REMOTECONTROL → const int
SM_REMOTESESSION → const int
SM_SAMEDISPLAYFORMAT → const int
SM_SECURE → const int
SM_SERVERR2 → const int
SM_SHOWSOUNDS → const int
SM_SHUTTINGDOWN → const int
SM_SLOWMACHINE → const int
SM_STARTER → const int
SM_SWAPBUTTON → const int
SM_SYSTEMDOCKED → const int
SM_TABLETPC → const int
SM_XVIRTUALSCREEN → const int
SM_YVIRTUALSCREEN → const int