notificationPredicate property

bool Function(ScrollNotification) 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 bool Function(ScrollNotification) notificationPredicate;