notificationPredicate property

ScrollNotificationPredicate? notificationPredicate
final

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.

Implementation

final ScrollNotificationPredicate? notificationPredicate;