RxInt class

A reactive int

Inheritance
Available Extensions

Constructors

RxInt(num value)
Create a reactive int

Properties

bitLength int
See int.bitLength
no setter
hashCode int
The hash code for this object.
no setterinherited
isEven bool
See int.isEven
no setter
isFinite bool
See num.isFinite
no setterinherited
isInfinite bool
See num.isInfinite
no setterinherited
isNaN bool
See num.isNan
no setterinherited
isNegative bool
See num.isNegative
no setterinherited
isOdd bool
See int.isOdd
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign int
See num.sign
no setter
stream Stream<num>
Stream of value changes
no setterinherited
unregisteredValue num
Read the current value without calling register
no setterinherited
value int
The current value
getter/setter pairinherited-setteroverride-getter

Methods

abs() int
See num.abs
ceil() int
See num.ceil
inherited
ceilToDouble() double
See num.ceilToDouble
inherited
clamp(num lowerLimit, num upperLimit) num
See num.clamp
inherited
compareTo(num other) int
Compares this object to another object.
inherited
floor() int
See num.floor
inherited
floorToDouble() double
See num.floorToDouble
inherited
gcd(int other) int
See int.gcd
modInverse(int modulus) int
See int.modInverse
modPow(int exponent, int modulus) int
See int.modPow
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
Notify listeners with the current value
inherited
notifyWithValue(num value) → void
Notify listeners with the given value
inherited
register() → void
Register with the current zone's RxRegistrar if it exists
inherited
remainder(num other) num
See num.remainder
round() int
See num.round
inherited
roundToDouble() double
See num.roundToDouble
inherited
run(RxAction action, {bool notify = true}) bool
Run action with registration and notifications disabled. Will notify after action is completed if notify is true and the child implementation decides a notification should be sent.
inherited
toDouble() double
See num.toDouble
inherited
toInt() int
See num.compareTo
inherited
toRadixString(int radix) String
See int.toRadixString
toSigned(int width) int
See int.toSigned
toString() String
A string representation of this object.
inherited
toStringAsExponential([int? fractionDigits]) String
See num.toStringAsExponential
inherited
toStringAsFixed(int fractionDigits) String
See num.toStringAsFixed
inherited
toStringAsPrecision(int precision) String
See num.toStringAsPrecision
inherited
toUnsigned(int width) int
See int.toUnsigned
truncate() int
See num.truncate
inherited
truncateToDouble() double
See num.truncateToDouble
inherited

Operators

operator %(num other) num
See the num documentation
operator &(int other) int
See the int documentation
operator *(num other) num
See the num documentation
operator +(num other) num
See the num documentation
operator -(num other) num
See the num documentation
operator /(num other) double
See the num documentation
inherited
operator <(num other) bool
See the num documentation
inherited
operator <<(int shiftAmount) int
See the int documentation
operator <=(num other) bool
See the num documentation
inherited
operator ==(Object other) bool
Returns true if both RxValue values are equal
inherited
operator >(num other) bool
See the num documentation
inherited
operator >=(num other) bool
See the num documentation
inherited
operator >>(int shiftAmount) int
See the int documentation
operator >>>(int shiftAmount) int
See the int documentation
operator ^(int other) int
See the int documentation
operator unary-() int
See the num documentation
operator |(int other) int
See the int documentation
operator ~() int
See the int documentation
operator ~/(num other) int
See the num documentation
inherited