ScrollNotificationCallback typedef Null safety

ScrollNotificationCallback = void Function(ScrollNotification notification)

A ScrollNotification listener for ScrollNotificationObserver.

ScrollNotificationObserver is similar to NotificationListener. It supports a listener list instead of just a single listener and its listeners run unconditionally, they do not require a gating boolean return value.

Implementation

typedef ScrollNotificationCallback = void Function(ScrollNotification notification);