ObserverMixin mixin

Implemented types
Mixin applications

Properties

disposers List<DisposeFn>
final
hashCode int
The hash code for this object.
no setterinherited
isDisposing bool
no setter
log → Logger
no setterinherited
loggerName String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptions List<StreamSubscription>
final

Methods

disposeObservations() Future
Synchronizes this widget's state to a SingleValue observable. This assumes that the value contained within observable is already being read by the widget builder, and this just ensures that setState is called each time observable is mutated.
logged<R>(R block(), {String? debugLabel, bool propagate = false}) → R?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onObserve({dynamic name}) → void
registerDisposer(DisposeFn dispose) → void
override
removeDisposer(DisposeFn dispose) → void
override
stream<T>(Stream<T> stream, [void listen(T next)?]) → void
streamText(Stream<String> stream) TextEditingController
streamTextEdit(TextEditingController cont, [StreamController<String>? controller]) Stream<String>
subscribe<T>(StreamController<T> controller, void listen(T next)) → void
toString() String
A string representation of this object.
inherited

Operators

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