onScroll property
The stream of ScrollHostEvents from nativeOnScroll
after they have been
handled, i.e. the content of the ScrollHost has been scrolled.
Implementation
@override
Stream<ScrollHostEvent>? get onScroll {
if (_onScrollStream == null) {
_onScrollController = StreamController.broadcast(
onListen: startNativeScrollListener, sync: true);
_onScrollStream = ZonedStream<ScrollHostEvent>(
_onScrollController!.stream, _ngZone.runOutsideAngular);
}
return _onScrollStream;
}