notificationPredicate property Null safety

ScrollNotificationPredicate notificationPredicate
final

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

By default, checks whether notification.depth == 0. Set it to something else for more complicated layouts, such as nested ScrollViews.

Implementation

final ScrollNotificationPredicate notificationPredicate;