shouldPreventPopForExtent method
Returns true if the controller should prevent popping for a given extent
Implementation
@protected
bool shouldPreventPopForExtent(double extent) {
return extent < willPopThreshold &&
(hasScopedWillPopCallback ||
popDisposition == RoutePopDisposition.doNotPop) &&
controller!.velocity <= 0;
}