addListener method Null safety
- ScrollNotificationCallback listener
Add a ScrollNotificationCallback that will be called each time a descendant scrolls.
Implementation
void addListener(ScrollNotificationCallback listener) {
assert(_debugAssertNotDisposed());
_listeners!.add(_ListenerEntry(listener));
}