onPop property

FutureOr<bool> Function(BuildContext context)? onPop
final

Any handler vetoes the pop up front, which also turns off the drag back, so pass one only while there is something to intercept.

Implementation

final FutureOr<bool> Function(BuildContext context)? onPop;