ReactiveIntN class
A specialized version of ReactiveN specifically for nullable integers.
Constructors
- ReactiveIntN([int? value])
-
Constructs a ReactiveIntN object with the optional initial
value
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listeners
→ List<
Function> -
no setterinherited
-
notifier
→ ReactiveNotifier<
int?> -
Returns a ReactiveNotifier object associated with this Reactive instance.
The ReactiveNotifier allows listening to changes in the reactive variable.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ int?
-
Retrieves the current value of the reactive variable.
getter/setter pairinherited
Methods
-
addListener(
dynamic listener(int? value)) → dynamic -
Adds a listener to the list of listeners to a Reactive variable
The listener function will be called with the current value gets changed.
@param
listener
The listener function to add.inherited -
bindStream(
Stream< int?> stream) → void -
destinationReactive.bindStream(sourceStream)
here, the value of Reactive variabledestination
will be updated and refresh the dependent Observers, whenever a new value is emitted fromsourceStream
.inherited -
close(
) → void -
Closes the underlying stream controller.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → void -
Triggers an update by emitting the current value and help update Observer widget.
inherited
-
removeAllListeners(
) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited