Flutter iOS désactiver le geste du dos
// Wrap your widget tree with the [WillPopScope] widget.
// The Android back button and AppBar back button will still work.
@override
Widget build(BuildContext context) {
return WillPopScope(
onWillPop: () async => !Navigator.of(context).userGestureInProgress,
child: /* ... */
);
}
Jumpy Monkey