RxDouble class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFinite → bool
-
True if the number is finite; otherwise, false.
no setterinherited
- isInfinite → bool
-
True if the number is positive infinity or negative infinity; otherwise,
false.
no setterinherited
- isNaN → bool
-
True if the number is the double Not-a-Number value; otherwise, false.
no setterinherited
- isNegative → bool
-
True if the number is negative; otherwise, false.
no setterinherited
- ob → double
-
Notify the host to rebuild related consumer widget and then return
the underlying object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
rxAspects
→ Set<
Object> -
finalinherited
- sign → double
-
Returns the sign of the double's numerical value.
no setter
- value ↔ dynamic
-
Getter:
getter/setter pairinherited
Methods
-
abs(
) → double - Returns the absolute value of this double.
-
addRxAspects(
[Object? aspects]) → void -
Add
aspects
to the Rx aspects. param aspects: Iterable: addaspects
to the rx aspects null: broadcast to the model RxImpl: add(aspects as RxImpl).rxAspects
to the rx aspects : addaspects
to the rx aspectsinherited -
call(
double v) → double -
RxVar(newVal): set new value to the Rx underlying value.
dart:call() works in the same way as operator()
inherited
-
ceil(
) → int -
Returns the least integer no smaller than
this
. -
ceilToDouble(
) → double -
Returns the least integer double value no smaller than
this
. -
clamp(
num lowerLimit, num upperLimit) → num -
Returns this num clamped to be in the range
lowerLimit
-upperLimit
.inherited -
clearRxAspects(
) → void -
Clear all the Rx aspects.
inherited
-
consume(
Widget create(), {Key? key}) → Widget -
Create a consumer widget and connect with the watched variable.
The consumer widget will rebuild whenever the watched variable updates.
inherited
-
copyInfo(
RxImpl< double> other) → void -
Copy info from another Rx variable.
inherited
-
floor(
) → int -
Returns the greatest integer no greater than
this
. -
floorToDouble(
) → double -
Returns the greatest integer double value no greater than
this
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void -
Synonym of
publishRxAspects()
.inherited -
publishRxAspects(
) → void -
Publish Rx aspects to the host.
inherited
-
remainder(
num other) → num -
Returns the remainder of the truncating division of
this
byother
.inherited -
removeRxAspects(
[Object? aspects]) → void -
Remove
aspects
from the Rx aspects. param aspects: Iterable: removeaspects
from the rx aspects null: don't broadcast to the model RxImpl: remove(aspects as RxImpl).rxAspects
from the rx aspects : removeaspects
from the rx aspectsinherited -
retainRxAspects(
Object aspects) → void -
Retain
aspects
in the Rx aspects. param aspects: Iterable: retain rx aspects in theaspects
RxImpl: retain rx aspects in the(aspects as RxImpl).rxAspects
: retain rx aspects in theaspects
inherited -
round(
) → int -
Returns the integer closest to
this
. -
roundToDouble(
) → double -
Returns the integer double value closest to
this
. -
toDouble(
) → double -
Return this num as a double.
inherited
-
toInt(
) → int -
Truncates this num to an integer and returns the result as an int. */
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toStringAsExponential(
int fractionDigits) → String -
Returns an exponential string-representation of
this
.inherited -
toStringAsFixed(
int fractionDigits) → String -
Returns a decimal-point string-representation of
this
.inherited -
toStringAsPrecision(
int precision) → String -
Converts
this
to a double and returns a string representation with exactlyprecision
significant digits.inherited -
touch(
) → void -
Activate automatic aspect management for this watched variable.
inherited
-
truncate(
) → int -
Returns the integer obtained by discarding any fractional
digits from
this
. -
truncateToDouble(
) → double -
Returns the integer double value obtained by discarding any fractional
digits from
this
.
Operators
-
operator %(
num other) → double - Euclidean modulo operator.
-
operator *(
num other) → double - Multiplication operator.
-
operator +(
double other) → RxDouble - Addition operator. dart doesn't have operator++
-
operator -(
double other) → RxDouble - Subtraction operator.
-
operator /(
num other) → double - Division operator.
-
operator <(
num other) → bool -
Relational less than operator.
inherited
-
operator <=(
num other) → bool -
Relational less than or equal operator.
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
num other) → bool -
Relational greater than operator.
inherited
-
operator >=(
num other) → bool -
Relational greater than or equal operator.
inherited
-
operator unary-(
) → double - Negate operator. */
-
operator ~/(
num other) → int - Truncating division operator.