addListener method

void addListener(
  1. 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));
}