StretchCallback typedef Null safety

StretchCallback = Future<bool> Function(BuildContext context)

Returns true/false to determine whether the widget should continue checking for stretch threshold.

If you are popping the current view, you probably don't want to keep checking overscroll

Implementation

typedef StretchCallback = Future<bool> Function(BuildContext context);