OffsetEmitter class

Inheritance

Constructors

OffsetEmitter(double initialOffset)

Properties

changes Stream<OffsetChange>
The stream of Changes to notify your UI or other state elements that they should update.
read-only, override
emitDetailedChanges bool
Whether to emit changes that include detailed information about the specific change. Defaults to false which will emit the same cached change object to minimize garbage collection. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isDisposed bool
Whether this has been disposed.
read-only, inherited
isNotNull bool
read-only, inherited
isNull bool
Whether the current value is null.
read-only, inherited
parent ChangeEmitter<Change>
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
unmodifiableView ValueEmitter<double>
read-only, inherited
value double
The current value held.
read / write, inherited-getter, override-setter
values Stream<double>
A stream of new values.
read-only, inherited

Methods

addChangeToStream(ValueChange<double> change) → void
Used by subclasses to broadcast Changes.
@protected, inherited
dispose() → void
Disposes resources.
@mustCallSuper, inherited
findAncestorOfExactType<T extends ChangeEmitter<Change>>() → T
@protected, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
quietSet(double newValue) → dynamic
Sets a new value and emits a change if the value is different than the old value but will not trigger any parent EmitterContainer to emit a change.
inherited
setValue(double newValue) → void
For subclasses to set values without emitting a change
@protected, inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited