ScrollEmitter class



ScrollEmitter({double initialScrollOffset = 0.0, bool keepScrollOffset = true, String debugLabel})


changes Stream<ContainerChange>
The stream of Changes to notify your UI or other state elements that they should update.
read-only, inherited
children List<ChangeEmitter<Change>>
Override to provide a list of all the ChangeEmitters defined in your subclass. This will dispose all children when this class is disposed and will emit a ContainerChange whenever any of the children change so that UI or other elements of your state can update reactively. If you only want a subset of the children to trigger changes, override emittingChildren.
read-only, override
controller ScrollController
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
emittingChildren List<ChangeEmitter<Change>>
A list of children that should trigger this container to emit changes. If you want all children to trigger changes, then you don't need to override this getter.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isDisposed bool
Whether this has been disposed.
read-only, inherited
offset OffsetEmitter
parent ChangeEmitter<Change>
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


addChangeToStream(ContainerChange change) → void
Used by subclasses to broadcast Changes.
@protected, inherited
animateTo(double offset, {Duration duration, Curve curve}) → void
controllerChangeFromChildChange(ChangeEmitter<Change> child, Change childChange) ContainerChange
override this method in order to create and use your own subclass of ContainerChange
@protected, inherited
dispose() → void
Disposes resources of all children and this.
emit({bool quiet = false}) → void
Emits new ContainerChange.any). [...]
findAncestorOfExactType<T extends ChangeEmitter<Change>>() → T
@protected, inherited
jumpTo(double offset) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
registerChildren() → void
toString() String
A string representation of this object. [...]


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