notificationPredicate property Null safety

ScrollNotificationPredicate notificationPredicate
final

A check that specifies which child's ScrollNotifications should be listened to.

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

Implementation

final ScrollNotificationPredicate notificationPredicate;