ContainerChange class

A Change used by EmitterContainer to notify listeners whenever a child element (see EmitterContainer.children) changed or EmitterContainer.emit is called.

Inheritance

Constructors

ContainerChange(ChangeEmitter<Change> changedElement, Change change, {bool quiet = false})
ContainerChange.any({bool quiet = false})
A change that doesn't provide detailed information about the change (does specify Change.quiet value). This is the default for EmitterContainer. Will provide the same cached object to minimize garbage collection.
factory

Properties

any bool
Whether this change is generic or contains specific information about the change. By default ChangeEmitters contained in this library don't contain specific information about a change (except for the Change.quiet value) and instead recycle the same Change object on each change to minimize garbage collection.
final, inherited
change Change
The Change broadcast by the changedElement that triggerd this change.
final
changedElement ChangeEmitter<Change>
The child ChangeEmitter that changed.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
quiet bool
Whether a change will trigger a parent EmitterContainer to notify its listeners that it has changed. This can be useful if you want to batch changes to children of a EmitterContainer but have the container only emit one change.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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