I\'m new to flutter development, and find it a bit frustrating in iOS when you have a navigation drawer and when you swipe to open it, it\'ll perform a Navigation.of(c
Navigation.of(c
You can try this in your Widget build:
@override Widget build(BuildContext context) { return WillPopScope(//forbidden swipe in iOS(my ThemeData(platform: TargetPlatform.iOS,) onWillPop: ()async { if (Navigator.of(context).userGestureInProgress) return false; else return true; }, child: , ); }