notificationPredicate property Null safety

ScrollNotificationPredicate notificationPredicate

A check that specifies whether a ScrollNotification should be handled by this widget.

By default, checks whether notification.depth == 0. That means if the scrollbar is wrapped around multiple ScrollViews, it only responds to the nearest scrollView and shows the corresponding scrollbar thumb.


final ScrollNotificationPredicate notificationPredicate;