onPop property
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;
Any handler vetoes the pop up front, which also turns off the drag back, so pass one only while there is something to intercept.
final FutureOr<bool> Function(BuildContext context)? onPop;