notificationPredicate property

ScrollNotificationPredicate notificationPredicate
final

Predicate filtering which ScrollNotifications drive automaticSurfaceVisibility.

Defaults to defaultScrollNotificationPredicate (notification.depth == 0). Override when wrapping the body in a nested scroll container such as a TabBarView or NestedScrollView.

Implementation

final ScrollNotificationPredicate notificationPredicate;