NestedScrollPredicate typedef

NestedScrollPredicate = bool Function(double available, NestedScrollPosition position)

Signature for the predicate that is used when all events from child widgets need to be consumed and taken over in specific situations.

Implementation

typedef NestedScrollPredicate = bool Function(
  double available,
  NestedScrollPosition position,
);