removeListener method Null safety
- ScrollNotificationCallback listener
Remove the specified ScrollNotificationCallback.
Implementation
void removeListener(ScrollNotificationCallback listener) {
assert(_debugAssertNotDisposed());
for (final _ListenerEntry entry in _listeners!) {
if (entry.listener == listener) {
entry.unlink();
return;
}
}
}